Elderly people with leg pain and knee pain need to distinguish between the causes of treatment, the main causes are osteoporosis, osteoarthritis and rheumatoid arthritis. The main causes are osteoporosis, osteoarthritis and rheumatoid arthritis. Conservative treatment, medication and surgery are often used. 1. Osteoporosis: common in the elderly, often due to insufficient calcium intake or absorption dysfunction, resulting in osteoporosis, leading to joint pain, and in severe cases, pathological fractures, etc. This situation can be supplemented with calcium and vitamin D treatment. 2. Osteoarthritis: Osteoarthritis is a kind of degenerative disease, which often causes joint pain, and can be relieved by oral non-steroidal anti-inflammatory drugs, such as celecoxib and other drugs. If osteoarthritis develops to an advanced stage, it can be treated with knee replacement. 3. Rheumatoid arthritis: rheumatoid arthritis is a kind of synovial proliferative inflammation, you can use non-steroidal anti-inflammatory drugs to reduce inflammation, relieve pain, such as celecoxib, but also use glucocorticoid therapy to reduce the inflammatory response. The above drugs need to be used under the guidance of a physician. There are many diseases that cause leg pain and knee pain in the elderly, including venous embolism, lateral collateral ligament injury, chondromalacia patellae and meniscus injury, etc. It is recommended that the patient seek medical attention as soon as possible to make a clear diagnosis and target the treatment.