I have always found that it is best, when you come home to drink two very large glasses of water. The headache comes from dehydration. I also take a tylenol before I sleep.
Of course, the real answer is drink Guinness. I have never had a hangover from Guinness.