An inflammation, infection or injury on the pulp will require it to be removed via a root canal treatment.
Note that a tooth pulp may be dead yet the tooth crown (part of teeth above the gums) won’t look disturbed. An effective method of keeping the tooth structure intact is by extracting a defective pulp.