Sugar reacts with bacteria in plaque, producing acid that contributes to tooth decay and cavities. Limit sugar consumption and brush your teeth 30 minutes after indulging in a sweet treat.