Dental work while pregnant?

Melissa
I had a filling fall out and now I need to go to the dentist to get it fixed. :-( has anyone been to the dentist for a similar situation while pregnant? And is it safe? I'm supper worried 😩 
I'm 9 weeks