It's always best to consult a physician to make certain there is no serious problem. If it is only a muscle cramp or spasm, a hot bath in epsom salts will give relief. Use two to three cups of epsom salts in a tub full of hot water, depending on the size of the tub. be sure the water is hot enough but only to comfort level. Epsom salts are commonly found in all pharmacies and many supermarkets as well as health food stores.
Cramps are caused by a decrease in the body's potassium and magnesium levels. To insure that you get enough of these important minerals, eat plenty of leafy green vegetables such as kale, chard and beet greens. Also broccoli, avocado, apricots, cantaloupe and bananas contain high amounts of potassium and some magnesium.
answered by Dr H K