Ectopic pregnancy occurs when the embryo implants outside the endometrial cavity. When this happens, in most cases, the implantation occurs in the fallopian tube, although it can also be seen in other locations such as the ovary, cervix and even the abdomen.
There are different factors that increase the risk of this occurring: history of pelvic inflammatory disease, previous ectopic pregnancy, previous cesarean section, endometriosis, IUD, contraceptives with only gestagens, postcoital pill and assisted reproduction techniques.