Tooth infection?

Haa anyone had a tooth infection while pregnant? One of my tooth broke a couple of weeks ago. And it has gotten infected. The dentist already prescribed me antibiotics which I already took and they referred me to a Oral surgeon to get it extracted. but Since I am already 35 weeks, they want to wait after birth for it. I still have some discomfort, and I try so bad to keep up good hygiene. I guess my concern is that this will harm my baby in any type of way😔 My tooth is pretty damaged and already has dark color on it. has anyone gone through this? I can’t sleep over this.