Many times we can stop muscle cramps by taking magnesium, but there are many different types of magnesium out there:
www.globalhealingcenter.com/natural-health/types-of-magnesium/ I choose mag orotate to help my muscles, mag oxide to help with my bowels (sorry for the TMI!) Some people prefer to use magnesium oil that is rubbed on the skin and absorbed that way.