Sugar is a major cause of cavities. Cutting down on number of times we eat sugar can reduce cavities significantly. Sugary foods such as candies, gum, chocolates, chocolate milk, fruit juices, coke and canned drinks especially increase the risk of getting cavities markedly. If you do eat any of these, it is best to brush right after or rinse your mouth water. Regular at home brushing and flossing, eating raw vegetables, exercising and regular dental checkups are also important to help prevent cavities.