What if I need a pain pill in the middle of the night?

Keep a carafe of water, and pain or other medications that you might need during the night, right by the bed. Often you can just barely wake, take the required pill, and lie right back down without disturbing your sleep too badly. It is far preferable to waking yourself to climb out of bed. Meds that are often needed in the night could include those for restless legs, indigestion, allergies and/or pain.