Indications and contraindications of endodontic therapy