Leg pain first needs to identify the cause of leg pain and then take corresponding treatment measures to relieve the pain. Usually, leg pain is caused by trauma, nerve compression, fatigue, cold, etc. It can be relieved by medication, surgery, and improving bad habits. 1. Leg pain caused by trauma: patients need to pay more attention to rest and elevate the lower limbs to promote venous return. If the symptoms of leg pain are severe, it can be treated with analgesic and anti-inflammatory drugs, such as ibuprofen extended-release capsules, aspirin capsules and other drugs. 2. Leg pain caused by nerve compression: Lumbosacral nerve compression due to lumbar disc herniation, tumor in the spinal canal, etc. can also cause leg pain, usually through surgical resection of the compressed nerve disc or tumor, so as to alleviate the symptoms of leg pain. 3. Leg pain caused by exertion: If patients stand for a long time regularly, it will cause chronic injury and strain of leg muscles and fascia, which will lead to symptoms of leg pain. Patients should be careful not to stand for a long time and pay attention to the rest of the legs. Leg pain may also be caused by other reasons, it is recommended that patients consult a doctor in a timely manner to clarify the cause of the disease and then corresponding treatment. The above drugs should be used under the guidance of a doctor, avoid self-medication.