Placing 2 or 3 pillows under your knees and the lower part of your legs can help prevent pain.