Welcome to Healthcaremagic.
From your query, i Suspect you may be suffering from Hypocalcemia
It is due to low serum calcium levels in blood.
You complaints of muscle spasm in lower limb especially in leg and foot.
It is better to check the blood calcium level immediately and treat correctly.
You may need the Intravenous calcium glucoconate immediatly depends upon Blood calcium levels)
Because it may cause life threatening conditions like Laryngospasm
( Spasm of Laryngeal muscles) and Arrhythmias.
Hope this helps.
Kindly consult your Physician.
If any doubt kindly reply.