Hi and welcome to Healthcaremagic. Thank you for your query. I am Dr. Rommstein, I understand your concerns and I will try to help you as much as I can.
Leg spasms and cramps are a common and usually harmless condition where the muscles in your leg suddenly become tight and painful.
It usually occurs in the calf muscles and in most cases there is no obvious cause of it If it happens sporadically then there is no need for any treatment or tests. But if this is common and affect your daily routine then some measures should be taken.
In some cases there may be predisposing conditions such can be seen in
pregnancy, after exercise and certain types of medication, such as statins or in
liver disease.
The best way to manage this is to stretch your muscles regularly.
In some cases
magnesium or
calcium supplements may help Have enough fluids and avoid long sitting, regulate body mass.
In cases of progression or if there wont be improvement, you need to see doctor, to rule out some neuropathies or vascular disrders which are much les common but should be considered if there wont be improvement on these measures that I have mentioned.
I hope I have answered you query. If you have any further questions you can contact us in every time.
Kindly regards. Wish you a good health.