Is it safe to go to the dentist while pregnant or should I wait until after birth?

I’am worried of the dental office making some kind of mistake in forgetting that I’am pregnant