Magnesium and staying very hydrated seems to work well for me. Coconut water and plenty of high ph water. You can also try Pedialyte and Liquid IV powder too. My sympathies and good luck!