This is why we get cramps at night

habits may include:

Find Chemistry Tutors
Staying appropriately hydrated
Stretching regularly
Increasing exercise gradually
Moving more during the day
Wearing comfortable shoes
Eating a balanced diet
When Leg Cramps Need Medical Attention

See a healthcare professional if cramps:

Happen very often
Are getting more painful
Regularly wake you from  sleep
Last unusually long
Come with muscle weakness
Are associated with numbness or tingling
Started after a medication change
A Red, Swollen, Warm Leg Is Different

A normal muscle cramp usually improves as the muscle relaxes.

A leg that remains:

Swollen