There are over-the-counter products available to temporarily fill a cavity or minor tooth damage until you can make it to the dentist but they are not a permanent solution and cannot replace a professional filling. A cavity is permanent tooth damage that must be cleaned, prepared and filled by a dental professional. There are severe risks to letting dental decay continue to worsen. If left untreated, cavities can lead to tooth loss and tooth abscess.