Dental work

I really need to have 2 of my back teeth pulled out they keep falling apart. And they hurt so bad it hurts to cough sneez or eat have any of you ladies had dental work or even tooth pulled while pregnant. I'm 16 weeks and does it hurt when they pull it