Medically reviewed by Simone Harounian, MS Milk is high in calcium and vitamin D, which help prevent muscle cramps.Eating foods with magnesium, like nuts and seeds, can reduce muscle ...