Generally speaking, dental surgeries are not advised during pregnancy, unless necessary. If you’re in pain and need the surgery, they can still do the x-ray if necessary to locate the tooth, but they should be providing you with a lead apron to shield your baby from radiation as a precautionary measure.
Before the surgery, ensure that you’re not on blood thinning medication, for example, aspirin. You might want to have a check to make sure that clotting factors are healthy as well, so that risk of excessive bleeding is low.
After the surgery, be sure to maintain good dental hygiene until the surgical wound heals. This is to prevent opportunistic infections, which can be deadly to your baby. Hope this helps.
Anonymous