Grab a Stretch-Out Strap, a towel, a rope, two belts fastened together—whatever.
Loop one end around one of your feet and hold the other in the same side hand
Lie on the edge of your bed with one leg planted on the ground and the other flat on the bed and parallel to the edge of the bed. The one on the bed should be the one that the strap is looped around.
Prop your torso up on your elbows.
Scoot the planted foot as far forward (toward your head) as possible. Doing so, you might feel a hamstring stretch in the planted leg.
Pull on the strap, bringing your foot toward your shoulder blades. Hold 30 seconds and repeat for each leg as needed.