An apicoectomy is a procedure used by an endodontist. It entails opening the gum near the tooth to remove infected tissue. The end of the root is also removed to reduce further inflammation and infection. A small filling is put at the end of the root and the gum is sutured to enable healing. Over time, the bone heals around the end of the root.