An ectopic pregnancy is when a fertilized egg implants outside the uterus. In most cases, it implants in a fallopian tube. In some cases, it may grow until the fallopian tube tears (ruptures). This can cause severe bleeding and a risk for death for the mother. Methotrexate is a medicine that stops the embryo from growing.