Anti-leg cramps methods are as follows: 1, it is recommended that patients continue to take aerobic exercise to prevent the occurrence of leg cramps, for example, patients can take continuous flat jogging, and adhere to this exercise, over time will make the situation of leg cramps gradually reduced; 2, it is recommended that patients do stretching exercises for the lower limbs, both before and after exercise, do leg press or yoga and other stretching exercises, can effectively reduce the It is recommended that patients should warm up well before doing strenuous activities to prevent leg cramps caused by sudden force during strenuous activities; 4. It is recommended that patients should keep their lower limbs warm, such as wearing sports stockings or elastic stockings during activities; 5. It is recommended that patients should drink more sports-related drinks, such as oral rehydration salts or functional drinks. Patients with osteoporosis are recommended to take oral calcium supplements, such as calcium gluconate, calcium sulfate, calcium carbonate and so on.