Cavities can develop by the age of 2, so children should visit a dentist from around 1.5 years of age.