Hi, it's perfectly safe to have minor work done whilst pregnant. If the dentist needs to take x rays then they will put a big apron on you so that the radiation of the xray isn't able to go anywhere near the baby You just need to make sure that they know your pregnant and how far along you are.