An ectopic pregnancy is a complication of pregnancy in which the fertilized egg implants outside the uterus, typically in the fallopian tube. This can be a life-threatening condition if not detected and treated promptly. Symptoms may include abdominal pain, vaginal bleeding, and shoulder pain. Treatment usually involves medication or surgery to remove the ectopic pregnancy.