Cold, electrolyte disorders, hypocalcemia and so on may cause leg cramps and constant pain. 1. Catching a cold: After catching a cold, blood vessels contract, and blood circulation around muscles, fascia, ligaments and so on is poor, causing sharp muscle spasms and contractions, leading to strains on muscles and ligaments and causing pain. 2. Electrolyte disorders: a lot of exercise, sweating, vomiting, diarrhea, etc., can cause a large loss of water in the body, electrolyte disorders, causing leg cramps, pain. 3. Hypocalcemia: after thyroidectomy, vitamin D deficiency, insufficient calcium intake or reduced absorption, etc., can cause hypocalcemia, manifested as numbness in the hands and feet, and in severe cases, can lead to leg cramps, muscle strain resulting in pain. Leg cramps have been painful may also have other reasons, it is recommended to go to the hospital in a timely manner, improve the examination to clarify the cause of the disease, give targeted treatment or treatment.