It doesn’t.
Or at least there is very little evidence to suggest it does. It’s really a holdover from what old basketball and football coaches had athletes doing 50 years ago. Some people with specific issues may benefit from specific stretches before specific activities. But there isn’t much evidence that general stretching routines, static or dynamic, reduce injury in training or competition.
Latest Answers