The analgesics today are really good, so you won't feel much, just pressure as the dentist drills through the roots.
Otherwise, tell your dentist if you feel anxious or afraid, they are pretty used to that and will generally try to make you comfortable.
Afterward, your gum will be a bit sensitive, but your tooth won't hurt since you don't have nerves endings anymore.
You got this.