Hamstring squeeze. Use the machine that works your hamstrings; you will either lie on your stomach or sit with a pad behind your knee. Push against the pad, moving your knee up toward the ceiling or backward (depending on which position you’re in). “In other words, bend your knees,” Pariser says. But to avoid cramps in your hamstring muscles, don’t bend your knee so much that your heels are too close to your buttocks.
Tight hamstrings are a common cause of lower back pain, and if you have a desk job, you’re at risk for both. Perform the seated forward fold paschimottanasana several times a day to stretch your shoulders, hamstrings, and spine. Sit on your mat with your legs straight, your feet together and flexed, your torso erect (but not arched), and your chin lifted like you’re proud to be performing this pose (which you should be!). Take a deep breath in, straightening up as much as you can, and then fold forward, walking your hands down the sides of your legs as you lower your torso as far as you can. Hold the pose for 8-10 breaths, and then slowly reverse the movement to raise your torso back up.
A sedentary lifestyle can lead to having weak and tight hip flexors as they are always in the shortened position. Tight hip flexors can lead to a limited range of motion, poor posture, lower back and hip pain, and even injuries. These muscles need to get a workout when you are standing and doing movements such as raising your leg to climb stairs, run, or ride a bicycle.