Bacteria breakdown the food producing acid. The acid can then breakdown the tooth structure. Eliminating one of these three entities helps prevent decay. Obviously eliminating good teeth is not feasible, so good oral hygiene will eliminate food particles that the bacteria can attack. A dentist can help you with this.