Stretch the affected muscle gently
Massage the cramped area
Apply heat to relax the muscle
Apply ice if the spasm is caused by strain or injury
Drink water
Replenish electrolytes
Rest the muscle
Change position or move around
Avoid overuse
Warm up before exercise
Improve sleep
Reduce stress
Limit caffeine and alcohol
Eat a balanced diet
Maintain regular physical activity
See a doctor if spasms are frequent, severe, or persistent
