Good oral hygiene may help in the prevention of some types of mouth ulcers. It may also help to prevent some complications from mouth ulcers. Good oral hygiene includes brushing the teeth at least twice per day, flossing at least daily, and getting regular professional dental cleaning and examination.