Stretch the affected muscle gently
Massage the cramped area
Apply heat to relax the muscle
Use a cold pack if the cramp is due to strain or injury
Drink water
Replenish electrolytes
Rest and avoid overusing the muscle
Walk or move lightly if the cramp is in your leg
Increase potassium-rich foods
Increase magnesium-rich foods
Increase calcium-rich foods
Avoid dehydration
Reduce caffeine and alcohol
Maintain regular exercise and stretching
Seek medical care if cramps are severe, frequent, or persistent
