Highly recommend Theraworks. Plus I take magnesium and potassium supplements.
Also, applying a pretty heavy duty vibrating massager to the muscle will stop them, pressing hard into the muscle. Without the massager, you can press your knuckles into it.
Unfortunately, the pressure needed on the muscle is painful, and nothing prevents the muscles from being very sore for days after the cramping. However, a hot epsom salt bath for 15-20 minutes can help.
I take magnesium daily. Can’t take potassium because of BP meds. I use magnesium oil, it does seem to help some.
I have a bad pancreas. I just don’t absorb any nutrients. 85 lbs.
After the Almeda fire, I couldn’t get any enzymes or peds. The cramps every night were relentless for months.
BTW..the only thing that stops my cramps is heat.