A pelviscopy can also be used to find and treat an ectopic pregnancy. This is when the fertilized egg grows in the Fallopian tube instead of the uterus. It can also find and treat endometriosis and other problems that affect the female reproductive organs.