When it's needed.
Radiation exposure doses from modern digital dental x-ray units are negligible.
Using a thyroid shield in addition to an abdomen shield is recommended.
If a pregnant woman is having a serious dental problem that requires treatment, there is no contra-indication to getting an x-ray.
There are numerous studies, reports, and official guidelines that support this.