Dentist

I read that you’re not supposed to go to the dentist if you’re pregnant. Is this true? Why? I assume the chemicals (like if you’re being put to sleep or radiation from an x ray are obvious) but what about a teeth cleaning? And is it true for the first trimester/if you’re not sure if you’re pregnant or not?