Place a band around your affected foot, and lie down on your back.
Pull the band so that your leg comes up, keeping the knee straight throughout the movement.
Lower the leg back down and repeat, making sure you keep your back flat on the floor.
You should feel a stretch down the back of your thigh as you raise the leg up.