A hysterosalpingogram (HSG) is done by placing a speculum into the vagina, cleaning off the cervix with a mild soap solution and then passing a thin catheter through the cervix into uterine cavity. Contrast or “dye” is then slowly injected into the uterine cavity. As the contrast passes through the fallopian tubes, X-ray images are taken. The catheter is then removed and images of any uterine or tubal abnormality can be studied and reviewed with the patient.