I find that the higher quality alcohol causes less of a hangover. But is obviously more expensive.
Also hangovers are caused by losing a lot of water/nutrients in your body that are used to flush the alcohol out. I try to replenish them before going to bed. Lots of sugar or something really salty helps. Not foolproof but i find it helps.