I did mine during 6 weeks pregnant. Usually its fine. Dentist also said cleaning and filling its okay.
Dentist will advice not to do mercury filling. And only do in second trimester
I just did it yesterday. Just need to inform the dentist
You may check with dentist.