1. Analgesic like NSAIDS will help with the pain
2. Hot compress can help
3. Exercises can help
To treat muscle cramps, it is important to relax the muscle. Stop any activity and stretch gently the muscles and to hydrate your body. Also, if muscle cramps is a regular occurrence then it is recommended to add more magnesium in the diet. <span />