If you find out you are pregnant after having an X-ray, you need to calculate it according to your menstrual cycle. If you are pregnant at the time of the x-ray, it is best to terminate the pregnancy because x-ray radiation is high and the fetus is prone to genetic mutations, especially in the early stages of pregnancy, which may result in malformations with a high incidence. To be on the safe side or for eugenic reasons, termination of pregnancy should be considered. You should ask your doctor for details, because he or she knows the patient best and can weigh the pros and cons to make the right choice. If the pregnancy is usually not easy to conceive, you can consider keeping it, but after the pregnancy, you need to do more tests to see what happens.