Stop the activity immediately
Gently stretch the thigh muscle
Straighten the leg if the cramp is in the front thigh
Bend the knee and pull the heel toward the buttocks if the cramp is in the back thigh
Massage the cramped muscle
Apply heat to relax the muscle
Use a warm bath or warm shower
Apply ice if the muscle feels sore afterward
Walk slowly once the cramp eases
Drink water
Drink an electrolyte beverage if needed
Rest the muscle
Avoid sudden movements
Seek medical care if cramps are severe, frequent, or do not improve
