Summarize:

Swallow the smallest recommended dosage with a large glass of water. A precautionary regimen of pain relievers will reduce your chances of being woken up with a splitting hangover headache. No amount of pain pills will save you from a hangover headache if you get blasted to the point of blacking out. It's best to just try not to overdo it in the first place. Don't mix Ibuprofen and alcohol if you're allergic or have ever had an adverse reaction to the medication under normal conditions. Nibble on something sweet, like a piece of fruit, granola bar, or a few peanut butter crackers. Wolfing down a quick snack before retiring for the night can be a lifesaver, especially if you didn't eat much before you began enjoying your spirits. Apples, bananas, and other grab-and-go fruits are a perfect pre-doze treat to maintain healthy blood sugar levels without filling you up too much. Pass on overly sugary, oily, or processed foods. These could dehydrate you or unsettle your stomach while you're trying to sleep. Once you've got a nutritious snack and a couple Ibuprofen on your stomach, refill your glass with 812 fluid ounces (240350mL) of water and drain it completely. Make sure you finish every last drop, and repeat as many times as needed until your post-party thirst is quenched. Chances are good that you will have urinated one or more times since deciding to call it a night. Chugging a little H20 will restore vital fluids and help ensure that you don't dry out. You'll then have a ready supply on hand if you wake up thirsty at any point. Remember, staying hydrated is one of the most important parts of recovering from a night of drinking. This is no less true around bedtime, especially since it will likely be a few hours before you take another sip. Consider putting your water in a flask or thermos so you won't end up with a soggy mess on your hands if you happen to clumsily knock it over. Make it a point to use the restroom one last time prior to tucking yourself in, even if you don't feel like you need to go. You probably will before long, so you might as well limit the number of unnecessary trips you're forced to make later on. Ideally, you should situate yourself somewhere that's close to a bathroom. Count on having to pee at least once during the course of the night. Don't be embarrassed if you have an accident. It doesn't mean you're a not a big boy or girl, it just means that the body has trouble controlling the bladder while inebriated.
Take a couple Ibuprofen when you get home to prevent headaches. Have a small snack to continue speeding up the absorption of alcohol. Drink a few more glasses of water to make sure you're fully hydrated. Leave some extra water on your bedside table just in case. Empty your bladder before you lie down.