For a pulled hamstring, the safest first steps are rest, ice, compression, and elevation , plus avoiding running, heavy stretching, or anything that makes the pain worse. Mild strains often improve with home care, but more serious tears can need physical therapy and sometimes medical evaluation.

What to do now

  • Rest the leg. Cut back on activities that bend or load the hamstring, and avoid pushing through pain.
  • Ice it. Use ice packs several times a day for about 20 to 30 minutes at a time to help pain and swelling.
  • Compress and elevate. An elastic bandage or compression shorts can limit swelling, and elevating the leg may help too.
  • Use pain relief if appropriate. Over-the-counter anti-inflammatory medicine may help with pain and swelling if you can take it safely.
  • Start gentle rehab when pain settles. Light, pain-free movement and later stretching/strengthening can help recovery and reduce reinjury risk.

What to avoid

  • Don’t sprint, jump, or lift aggressively too soon. That can worsen the strain.
  • Don’t do forceful stretching early on. Early over-stretching may aggravate the injury.
  • Don’t ignore worsening pain or weakness. A more serious tear may need professional care.

When to get checked

  • You heard a pop , have major bruising/swelling, or can’t walk normally.
  • Pain is severe, keeps getting worse, or doesn’t improve over several days.
  • You suspect a grade 3 tear or tendon injury, which can take months and may need specialist treatment.

If you want, I can also give you a day-by-day recovery plan for the first week.