I have 2 methods of dealing with them.
Usually, I don't drink, but when I do, I am careful what I drink and how much. Certain types of drinks lead to hangovers, some don't, at least for me. If something makes you foggy and buzzed, you will likely get a hangover. Beer does this to me bad. A few beers and I feel cloudy and get hungover, hard alcohol comes on clean and leaves me clean. Stick with 40 proof or more, but be careful until you know your limit, you won't feel it coming on like you can with beer.