Fluoride helps protect teeth by hardening the enamel, making it more resistant to acid attacks from bacteria that cause cavities and other dental problems. Fluoride can be obtained through drinking fluoridated tap water, using fluoride-containing products like toothpaste and mouthwash, and eating foods and beverages which contain fluoride.