I had that done a few months ago. If they are still in the gums they will surgically remove them. You will be put completely under. It wasn't that bad. I was down and out for a day. Just have to be careful wit the foods you eat for a while and definetly follow their care instructions. If you don't flush the sockets and pack them properly you could get dry socket.
I did get sick from the pain killers they gave me so I quit taking them. The only thing I took the whole time was ibuprofen 600 mg. I felt only slight discomfort.
You'll be fine.