The best thing is prevention! If you drink at least two big glasses of water before bed, you will probably not wake up with a hangover. The best thing to do is to drink lots of water while drinking alcohol as well, but most people don't do that.