<s>[INST] I get foot cramps at night quite often, walk around and put socks on and it usually goes away. Last night my foot, ankle and shin were so bad. I got out of bed and walking didn t help and I lay down on the floor and was in agony. Pain would move from ankle, foot, shin. Once pain went I stayed on the floor and didn t move a muscle for fear that it would start up again. Sometimes I forget and I stretch my leg and right away the cramp starts. Last night I got back into bed but took a long time to feel warm and felt nautious. [/INST] Hi, Usually it happens due to deficiency of calcium and vitamin D. Please check your vit D and calcium level, and take supplements according to your physician. Hope I have answered your question. Let me know if I can assist you further. Regards, Dr. Jaideep Gaver, Orthopedic Surgeon </s>