Throughout the day, moving your body and varying your body positions help prevent your joints from becoming sore from being stuck in a position that worsens the pain. Staying in a poor body position while asleep for a long period of time can also be an issue. Think of all of the times you have awakened wondering how you ended up in such an awkward sleeping position.