1) Assign a person as your designated driver. If you don't have a designated driver, call a family member or friend to fetch you and take you home. If no family member or friend is available or willing, call a cab.
2) Stay in place and wait until you sober up. Drink a lot of water to flush out the toxin and alcohol in your system.
3) Have a party at your own place to avoid going out and having trouble getting home if your drunk or high.