Stretch the calf and hamstring muscles regularly
Stay hydrated throughout the day
Replenish electrolytes like potassium, magnesium, and sodium
Warm up before exercise and cool down afterward
Avoid sitting or standing in one position for too long
Massage the cramped muscle gently
Apply heat to relax the muscle
Use ice if the cramp follows an injury or overuse
Wear supportive shoes
Reduce overexertion during workouts
Maintain a balanced diet
Review medications that may cause cramps with a doctor
See a healthcare professional if cramps are frequent, severe, or persistent
