Stop the activity and rest the muscle
Gently stretch the cramped muscle
Massage the muscle
Apply heat to relax the muscle
Apply ice if the muscle feels sore afterward
Drink water
Replenish electrolytes
Move around lightly after the cramp eases
Avoid overexertion
Improve hydration before exercise
Warm up before physical activity
Stretch regularly
Eat a balanced diet with enough potassium, magnesium, and calcium
Check medications if cramps happen often
See a doctor if cramps are severe, frequent, or persistent
