If youre prone to back pain, talk with your doctor about the best sleeping position. Sleeping on your side with your knees pulled up slightly toward your chest is sometimes suggested. Prefer to sleep on your back? Put one pillow under your knees and another under your lower back. Sleeping on your stomach can be especially hard on your back. If you cant sleep any other way, place a pillow under your hips.