I used to get those myself although not that severe. I take half a tablet of magnesium with turmeric, you may need the full tablet. I use the ones from Nature's way. Another issue is your salt intake, to much can cause dizzy spells but not enough can cause or increase cramps as well. Good luck...