Leg cramps are usually caused by cold stimulation, fatigue, calcium deficiency, degenerative spinal lesions, vascular factors, etc. The treatment includes: changing posture, massage, keeping warm and medication. 1. Changing posture: change your posture when you have leg cramps, try your best to straighten your leg forward while enduring the pain, then rotate the ankle joint of the cramped leg to the outside, and the pain will disappear after the rotation. Pay attention to do this action must be consistent, no pause in the middle. 2. Massage: alternate hands to follow the direction of the veins, from the bottom upward massage of the leg muscles, you can also grab the leg muscles in the hands of the rolling shake, or from the side to slap the muscles, so that the leg muscles to get relaxation, which will help restore normal blood circulation. 3. Keep warm: If the leg cramps are caused by cold stimulation, you need to pay attention to the cold to keep warm and apply hot compresses to the cramped parts to relieve them. 4. Medication: For the cause of calcium deficiency, calcium supplements and oral vitamin D should be taken in time to increase the blood calcium concentration; for muscle spasms caused by vascular factors, blood vessels and nerves of the lower limbs should be examined in time, and appropriate treatment should be carried out according to the specific cause. If the above measures can not relieve or reduce leg cramps, it is recommended to consult a doctor in time to identify the cause and carry out appropriate treatment.