If your child has a cavity, the dentist will need to fill it to prevent further decay and damage to the tooth. The filling material used may vary depending on the location and size of the cavity, as well as your child’s individual needs.