If your dentist determines that you have a cavity, he or she will probably repair it with a filling. Fillings are composed of a number of synthetic materials, and they are inserted after the dentist has removed the decayed portion of the tooth. Depending on the nature of your tooth decay, the dentist may use fillings made of gold, ceramic or composite materials.