No matter how much you exercise, you're still prone to getting muscle cramps. It's muscle fatigue: your muscles contract during your workouts, which requires a lot of energy.
Fitness coach and founder of Better Body Bootcamp, Kaiser Serajuddin says that when you have well-nourished and relaxed muscles, it's generally fine. But if you're not watching what you eat and use overworked, unprepared muscles, then you could ultimately be putting too much strain on them - leading to the dreaded muscle cramp.
How do you fix this? Clean up your pre-workout meals. Stick to high-fiber foods like brown rice and foods with electrolytes like sweet potatoes, which provide ready-to-use energy for your workout. Eat two hours before working out so that your body can break down nutrients for your muscles to absorb. Dehydration also increases your risk of muscle cramps, so make sure you get enough water intake at all times.
But this isn't a foolproof plan, especially if you kick your muscles into overdrive every time you workout. Unfortunately there isn't any instant remedy for muscle cramps - you have to let the pain subside naturally, says Serajuddin.