Rest and stop the activity causing the cramp
Gently stretch the affected muscle
Massage the cramped area
Apply heat to relax the muscle
Apply ice if the area is sore afterward
Drink water or an electrolyte drink
Replenish fluids if you have been sweating
Walk slowly if the cramp is in your leg
Avoid sudden movements
Eat foods rich in potassium, magnesium, and calcium
Reduce overexertion and fatigue
Warm up before exercise
Cool down after exercise
Maintain regular stretching
Seek medical help if cramps are severe, frequent, or persistent
