Sleep on your side or back to avoid neck pain. While your shoulders should be slightly under the pillow, your head and neck should be at the top. Ensure your head is parallel to the mattress and not at an angle.