A root canal is recommended when the pulp inside of the tooth has become irritated, inflamed, or infected. While this often happens because bacteria have gotten into the tooth, it can also happen because the tooth has suffered some form of trauma. When the pulp is affected, you can be left with a significant amount of pain. By removing the damaged pulp, your toothache is alleviated.