Hi Peggy and welcome.
Oi Vey!!!! I've had similar issues with a dentist I thought was going to torture me to death.
I don't know about your particular problem but I imagine they would have to do it in outpatient surgery because they'll have to open up the area to remove the tooth. I'm not sure.
But do check out the link that Lara gave you.
Best wishes! I hope you're not in horrible pain.