Your dentist will first remove any decay from the tooth. An adhesive material is then placed over the cavity to help the filling bond to the tooth. The filling is then applied to the area and the dental assistant will apply a light to the tooth for a few seconds to harden the material.