Pick up the hindlimb as if you are about to pick out their hooves and then flex the leg upwards to a medium flexed position. With one hand you should support the hock and the other hand support the fetlock. Gradually then move the limb away from the body. Hold at the point where you meet resistance. Hold and then return the limb back to the floor gently.
This is a difficult stretch for your horse so please be careful