Once a tooth has been determined to need a root canal to save your tooth the dentist will clean out the nerve tissue from the tooth, clean and shape the canals, and then fill it to restore your tooth and natural function. This helps remove any harmful bacteria in the canal space, clean out an infection and ensure the pain and inflammation from the tooth settles down.