Functional treatments are ok. This includes teeth cleanings which are 100% safe and recommended. More invasive treatments like a root canal may be required in case of a dental emergency, like an infection. However, cosmetic treatments like teeth whitening should be postponed until after the baby arrives.