tooth pulled

i had a tooth pulled out today that was cracking and hurting when i chewed on that side of my mouth. i’m 27 weeks and now i’m so worried i made the wrong decision and that it could hurt my baby. anyone else had a tooth pulled while pregnant