A strained hamstring is medically known as a strained ligament in the foot, and should be strained by stopping exercise, applying cold compresses followed by hot compresses, and using appropriate medication or going to a regular hospital if necessary. 1. Stop exercising: After noticing the strained hamstring, you should stop the activity as soon as possible, so as not to cause secondary damage to the muscles and ligaments of the foot. Then try to elevate the injured foot to promote blood flow to reduce bruising and swelling. 2. Cold compresses: applying cold compresses to the injured area within 72 hours after the strain can make the local blood vessels contract to reduce the possibility of bleeding and swelling. 3. Hot compresses: After 72 hours of strain, localized hot compresses can be applied to promote blood circulation by raising the temperature of the affected area, which is conducive to faster recovery. Note that the temperature of the hot compress should not be too high to avoid burns. 4. Appropriate medication: If you want to recover faster, you can also use Yunnan Baiyao and other medicines that activate blood circulation and eliminate blood stasis to reduce edema, pain and other symptoms. If there is pain, you can take oral diclofenac sodium extended-release tablets, ibuprofen capsules and other non-steroidal anti-inflammatory drugs for anti-inflammatory pain treatment. If the above methods can not be relieved, it is recommended to go to a regular hospital for treatment. After the injury, pay attention to rest, eat more protein-rich food to speed up the recovery. The use of medication should be in accordance with medical advice.