Sore legs may be caused by physiological reasons, lumbar disc herniation, calcium deficiency, etc. You can choose rest, surgery, oral medication and other treatments according to different causes. 1. Physiological reasons: Lactic acid accumulation due to strenuous exercise, or fatigue and pulling of leg muscles during exercise may cause leg pain, which can be relieved by rest, localized hot compresses, physiotherapy, and reducing leg activities. 2. Herniated lumbar intervertebral disc: Herniated lumbar intervertebral disc compressing the nerve root can cause leg pain, which can be treated conservatively by bed rest, changing the bad posture, strengthening the lumbar back muscle exercise, wearing a brace, oral ibuprofen, etc. Patients who do not receive conservative treatment can have surgery. If conservative treatment is ineffective, surgery, such as discectomy, is feasible. 3. Calcium deficiency: Calcium deficiency leads to spasm and twitching of leg muscles, which can cause leg pain, and can be treated by calcium supplement, sun exposure, more meat, eggs, milk and other protein-rich foods, and appropriate exercise. There are more reasons for leg pain, including trauma, vascular embolism, varicose veins of the lower extremities, etc. Patients should go to the hospital in time to improve the examination and clarify the cause of the disease before targeted treatment.