Hamstring Stretching: Comfortable Mobility Exercises
Hamstring stretching may help improve flexibility, but tight hamstrings do not necessarily cause back pain.
Try a comfortable stretch
Sit on a stable chair, extend one leg with your heel resting on the floor and gently lean forward from your hips until you feel a mild stretch. Avoid forcing the position or stretching into pain. Combine mobility work with appropriate strengthening.