If I drink lots I make sure to stop drinking a while before I go to bed, I usually take some quick food as well. I take quite a bit of salt as well, and then have something sugary. Then I drink plenty of water. The next day I'm alright and I top off my hangover cure with a few cups of coffee and it's like I never had anything at all to drink the previous day even if I was so drunk I couldn't even say my own name.
My strict disciplin came as a result of a nasty ass hangover that lasted for three days straight. I won't go into details but it wasn't very pleasant. After that I swore I'd never have another hangover ever again and it's been a little over one and a half year ago and so far it's stayed true even though I've been more intoxicated plenty of times than what I used to before the promise.