Choose oral forms of magnesium, like pills, to raise your levels, especially if your goal is to correct a deficiency or improve sleep, muscle cramps, or overall magnesium status. Use sprays for local ...