<s>[INST] I am 47 y/o. I take potassium 2 times a day, and never any cramps or swelling. 15 minutes ago, I was sitting at my desk and my abdomen, back, along with my calf and thigh muscles cramped so bad, I became nauseated. I have never had such intense cramping or pain before, and now I am a little scared. It has subsided as of 3-4 minutes ago. [/INST] Hi, You may have too much potassium, and taking potassium and/or magnesium will make your cramps worse (magnesium increases the retention of potassium). Sometimes, people on these medications have normal potassium, but still are getting unexplained cramps, even after supplementing with magnesium. In my experience of talking to Hun Chat Doctor.  It's not clear how, but I suspect they are able to cause cramps. Also check for other possibilities like iron deficiency or panic attack or restless leg syn </s>