The procedure includes removal of the damaged pulp, cleaning and disinfection of the root canal, and sealing the space with a special material to prevent future infection.