Posterior hamstring pain can be caused by trauma, arthritis, popliteal cyst, lumbar spine disease, tumor and so on, and can be treated with general, physical, medication and surgery. 1. Trauma: Trauma leads to knee meniscus or ligament injury, which can cause hamstring pain at the back of the knee. In the acute stage, cold compresses can be applied locally, and attention should be paid to the affected area for rest and braking, while serious injuries need to undergo surgical repair treatment. 2. Arthritis: osteoarthritis of the knee joint can cause degeneration of the knee joint, resulting in pain in the hamstring at the back of the knee, need to pay attention to the protection of the knee joint, can follow the doctor’s instructions oral analgesic drugs such as celecoxib, can be injected into the joint cavity of sodium vitrate to nutritional lubrication of articular cartilage, the serious condition needs to be carried out in the knee joint replacement and other surgical treatments. 3. Popliteal cysts: Popliteal cysts can cause soreness and pain on the back side of the knee, usually need to be diagnosed after surgery, and after surgery, local braking is needed to promote recovery. 4. Lumbar disc herniation: when lumbar disc herniation compresses the spinal cord or nerve root, it can cause pain, numbness and other nerve compression symptoms at the back of the knee and the leg socket, which can be treated by massage and traction, and can be treated by oral anti-inflammatory and analgesic drugs such as ibuprofen and nutritive drugs such as methylcobalamin as prescribed by the doctor, and surgery is needed for serious conditions. 5. Tumor: when the pain in the leg socket behind the knee is obvious, accompanied by local deformation and swelling, it is necessary to pay attention to exclude soft tissue or bone tumors and other diseases, and after the diagnosis is clear, it is necessary to actively carry out anti-tumor treatment. When there is pain in the hamstring at the back of the knee, you should consult a doctor in time, which will help to cure the disease as soon as possible.