If you’re waking up in pain, you can take steps to improve your situation, reports Popular Science.

Back sleeping is the best option for pain management, as it allows your body to rest in a neutral position, which is great for reducing aches. It also cuts down on heartburn, as it keeps your head elevated above your chest.