Cramps, known as muscle spasms, are spontaneous, tonic contractions of the muscles. Muscle spasms occurring in the calves and toes are the most common, and the pain is unbearable, especially in the middle of the night when the cramps tend to wake people up in pain, and there is a long time can not stop the pain, and affects sleep. So what to do when the cramp attack? 1, according to different reasons to take the following different countermeasures, can quickly lift the spasm and pain. When a cramp occurs, as long as according to the “opposite way”, that is, in the direction of the force opposite to the toes and adhere to l ~ 2 minutes or more, can be effective. Specifically, if the muscle cramp behind the calf, you can on the one hand pull the foot so that the foot plate up, on the one hand, try to straighten the knee joint; when the muscle cramp in front of the calf, you can press the foot plate and wrenching flexion toes. 2, children’s leg cramps are mainly caused by calcium deficiency, this situation should pay attention to timely calcium to children. Otherwise, not only will the cramps more serious, but also affect the growth and development of children. Lack of calcium can choose dietary supplements, such as milk and milk products, beans, kelp, bone meal, etc., more sunshine. In addition, you can take calcium tablets. 3, to prevent leg cramps, usually should pay attention to the following points: ① drive cold warm; ② pay attention to sleep posture; ③ walking or exercise time should not be too long.