If a tooth is affected by decay, it must be removed and the affected tooth structure is replaced with a filling. Now days most teeth are treated with bonded tooth colored composite resin fillings. Caught early, cavities can be treated easily and painlessly. If the decay remains untreated it progresses to invade the nerve of the tooth and can lead to tooth pain and/or infection, and the tooth would then require root canal treatment or extraction.