Sore legs may be caused by exertion, cold, calcium deficiency, lumbar disc herniation, or sciatic nerve compression. Sore legs may be caused by fatigue, such as walking too long or strenuous exercise, such as running or hiking, resulting in leg muscle strain, metabolite accumulation, so there will be localized soreness, through rest for a few days this symptom can be significantly improved. After catching a cold, it will cause local vasoconstriction, muscle spasm, and poor blood circulation, so there will also be soreness, and the symptoms can be reduced by keeping warm. When there is a calcium deficiency, there will also be a twitching pain in the legs, which usually occurs at night. Serum calcium is needed to make a definitive diagnosis if there are recurrent episodes. Lumbar disc herniation compressing the nerves can present with leg aches and pains, and in some cases numbness in the lower limbs. Sciatic nerve compression, a common cause of soreness in the buttocks and legs is pyriformis syndrome. So the causes of leg cramps and soreness are mainly the above reasons, and treatment is carried out for the cause of the disease.