It's not bad, just remember to drink lots of fluids and don't take them on an empty stomach.
The better solution is to try and not get a hangover
in the first place. You can do this by not drinking excessively and staying hydrated. If you're getting hangovers every time you drink, then you should think long and hard about your drinking habits.
Answer assisted by David Miller, Medical Student