Stop activity and rest
Stretch the affected muscle gently
Massage the cramped muscle
Apply heat to relax the muscle
Apply ice if the area is sore afterward
Drink water or an electrolyte beverage
Rehydrate if you have been sweating or exercising
Walk around if the cramp is in your leg or foot
Take a warm bath or shower
Eat foods rich in potassium, magnesium, and calcium
Avoid sudden intense exercise
Prevent cramps by staying hydrated
Prevent cramps by warming up before exercise
Seek medical care if cramps are severe, frequent, or persistent
