When you’re out with friends or spending time with family, drinking can seem like an inevitable option. But after a couple of drinks, driving a vehicle may not be the best choice. If you drink more than you expected to, it could lead to your driving home while intoxicated, which can result in a DUI if you get caught.

Fortunately, there are some alternatives to driving under the influence. For example, you can always offer nonalcoholic drinks at a party you’re hosting or bring nonalcoholic beverages to parties you attend. Here are a few other ideas to consider.

Take a bus or ride-sharing service home

Thanks to taxi services, ride-share services like Lyft and Uber, and the public transportation, it’s easier than ever to get home without driving. If you’ve had more to drink than you expected, take one of these services home and back to get your vehicle once you’re sober.

Designate a driver ahead of time

It’s almost impossible to go out and end up with a sober driver at the end of the night if you don’t plan ahead. Talk to the group, and make sure at least one person won’t be drinking. If you all plan to drink, remember to stop early enough to allow your blood alcohol concentration to drop. Carrying a breathalyzer helps you be certain you’re fit to drive before you get behind the wheel.

Encourage safety among your peers

It’s easier to avoid drunk driving when you and your companions are on the same page. Talk to everyone about the importance of driving only when sober. Watch out for each other, and make sure to stop your loved ones from getting behind the wheel if they’ve had too much to drink.

These simple actions can prevent a DUI. With some preparation, you can have a good time out on the town without a risk of an arrest for drunk driving, or worse.