Recurrent hamstring strains usually involve limited eccentric hamstring strength, high sprint exposure without adequate preparation, previous injury, and fatigue. Eccentric work such as Nordic hamstring curls plus a graded return to high-speed running is the best-supported approach. See a clinician for a current injury.
Eccentric hamstring strengthening, particularly the Nordic hamstring curl, has good evidence behind it for reducing hamstring injury rates. Start with assisted partial range, two sessions a week, low volume, and build gradually. It produces considerable soreness at first, so introduce it well away from competition.
Add Romanian deadlifts and single-leg Romanian deadlifts for strength through range, and 45-degree back extensions for lighter posterior chain volume. Include hip flexor and trunk work, since pelvic control affects the load the hamstrings carry.
Regular, controlled high-speed running is protective rather than dangerous. One or two short sprint exposures a week, built up gradually and performed fresh, keeps the tissue prepared. Removing sprinting entirely because you are worried about strains tends to make the next one more likely.
Avoid large week-to-week jumps in sprint distance, and be cautious returning after a layoff. Sleep and nutrition both influence tissue tolerance.
A current or recent strain needs assessment and a structured return-to-running programme from a physiotherapist. Returning as soon as it stops hurting is the most common reason strains recur. Related material is in Deceleration: Braking Mechanics, Eccentric Strength, and Injury Risk.