There are several effective ways to prevent bad breath, including using mouthwash after brushing teeth, scraping the tongue, drinking water instead of soda or alcohol, quitting smoking, flossing regularly, and seeing a dentist if a tooth is infected. Chewing sugar-free gum can also help mask bad breath.