Diagnosis
Muscle cramps are usually harmless and don’t require medical attention. However, you should see a doctor if your muscle cramps are severe, don’t improve with stretching, or persist for a long time. This could be a sign of an underlying medical condition.
To learn the cause of muscle cramps, your doctor will perform a physical examination. They may ask you questions, such as:
How often do your muscle cramps occur?
Which muscles are affected?
Do you take any medications?
Do you drink alcohol?
What are your exercise habits?
How much liquid do you drink on a daily basis?
You may also need a blood test to check the levels of potassium and calcium in your blood, as well as your kidney and thyroid function. You may also take a pregnancy test.