If your child has a cavity, it is important to have it treated as soon as possible. Your dentist will likely recommend a filling or crown.