Don't get it. Why don't you just prevent it. Avoid drinking so much that you get a hangover!
Moderation. You can start by not drinking more than 5 alcoholic drinks (of normal size) a night. No more than 3 in a 2 hour period. You also want to make sure you have had at least 5 cups of water & a full meal before you drink alcohol. Another thing that may help is to alternate your alcohol with water (beer, water, beer, water; for example). Stick to light alcohols, and to the same type (don't switch).
No cure. I don't believe there's a "cure" for a hangover. However, in my experience, drinking lots of fluid and taking nsaids such as Ibuprofen or Naproxen may help with symptoms, especially headaches.
Not drink. Avoid drinking. Know your limits.
REHYDRATE. And dont drink as much next time.