Tooth decay is caused by the buildup of plaque, a sticky film of bacteria that forms on teeth. When you consume sugary or starchy foods, the bacteria produce acids that attack tooth enamel. To prevent tooth decay, brush twice a day with fluoride toothpaste, floss daily, limit sugary snacks and drinks, and visit the dentist regularly.