Stretch the cramped muscle gently
Massage the muscle
Drink water
Replenish electrolytes
Rest the affected muscle
Apply heat to relax the muscle
Apply ice if there is soreness afterward
Move around lightly
Avoid overexertion
Eat potassium-rich foods
Eat magnesium-rich foods
Maintain regular hydration
Warm up before exercise
Cool down after exercise
Address any medication side effects with a doctor
Seek medical care if cramps are frequent, severe, or persistent
