Sleeping on your back with a pillow under your knees, or on your side with a pillow between your legs can help maintain the natural curve of your spine. These positions reduce pressure on your back and neck.