The procedure involves opening the tooth, removing the nerve and inflamed tissue, and then filling it with a temporary filling and a permanent filling to preserve the tooth and avoid extraction.