To prevent decay from spreading to healthy teeth, your dentist will repair the cavity immediately using composite fillings.