Occasionally having a chest X-ray and finding out that you are pregnant has a relatively small effect. Finding out that you are pregnant after repeated chest X-rays may have an effect, but it is not absolute.
Chest X-rays are performed under X-rays, which have relatively strong radiation, and the radiation may lead to malformations in the development of the fetus, but it is not absolute.
If a pregnancy is discovered after an occasional chest X-ray, the radiation dose is relatively small and the effect on the fetus is relatively small, so the pregnancy can usually continue.
When pregnancy is discovered after repeated chest X-ray examinations, the radiation dose is relatively large, and the pregnancy may be aborted due to poor embryo quality, or the fetus may be affected by developmental malformations, which have to be detected during the maternity examination during pregnancy.
You can go to the hospital to inform the doctor after having a chest X-ray in early pregnancy, so that the doctor can judge whether to continue the pregnancy.