For minor cavities, inlays can treat an infected tooth. If infection reaches the tooth’s nerve, you’ll likely need a root canal which can fix the issue but lead to weakness due to a cut-off in blood and nerve supply. Following a root canal, your dentist may recommend a crown to protect the tooth from the effects of the root canal.