If you've ever pulled your hamstrings, prevention will clearly be your goal. Repeating that injury not only interferes with our everyday activities but puts you at risk for a repeat injury. To prevent future pulls, invest time in hamstring stretches and exercises that focus on flexibility and strength.
The stretching and strengthening programs that help rehab the injury are the same ones that will help to prevent it. Warm up and cool down.
Going in cold is uncomfortable under any circumstances, but starting an athletic activity without stretching your hamstrings is a risk for injury you just don't have to take. Be sure to warm up properly before and stretch afterwards.
Your feet are designed to protect you against the shock your body feels when you take a step. Every time the heel of your foot hits the ground, a shock wave travels up through your body, all the way to your head.
A healthy body will absorb this shock. But if your feet are not in their correct functioning position, more of this shock is allowed to move through the body to weaken other joints including the hips and spine. Be sure that your feet are healthy, that your arches are properly supported and your shoes are providing maximum shock absorption.
Doing hamstring exercises could be the best thing you do if you experience a hamstring injury, or if you plan to participate in an activity that uses the hamstrings. Proper hamstring stretches and exercises will keep the hamstrings in good shape, always limber, and strengthened as well.