Root canal at 33 weeks???

Can you get a root canal at 33 weeks?? because my tooth is KILLING me and the abscess is horrible. However I don’t want anything to harm my baby because of the procedure. I would love to hear any thoughts as well.