A What is the best sleeping position to prevent back and neck pain? A neutral sleeping position, such as on your side with a pillow between your knees or on your back with a pillow under your knees, can help prevent back and neck problems.