I rarely get a cavity, but after we moved out to the country, I found I was getting maybe one a year. I finally woke up and realized it was because we had a well for our water supply, and it wasn’t flouridated.
So I started rinsing with ACT once a day, and I haven’t had another cavity in 15 years or so, knock on wood. I use flouridated toothpaste, but evidently that wasn’t quite enough to do the job.