Question: what to do when you have a bad leg cramp?
Answer: Stretch and massage. Stretch the cramped muscle and gently rub it to help it relax. For a calf cramp, put your weight on your cramped leg and bend your knee slightly. ... 
Apply heat or cold. Use a warm towel or heating pad on tense or tight muscles.