You need water, salt and some bananas. Sodium and potassium (electrolyte) depletion in your body will give you some killer headaches and cramps.
It can also cause fake heart attack symptoms. I had severe chest pains several years ago and went to the hospital. The tests showed that my K was very low so they gave me some of that and that fixed the problem for me.