Stretching exercises can help to maintain or improve your range of motion. The effect depends on the exercise and the aim. Stretching is no guarantee against injuries and does little to reduce muscle soreness after exercise. Read more about the latter in the Cochrane review on stretching and muscle pain.
