Ovulation problems

I wonder if maybe ovulation problems caused my Ectopic, i dobt it is is anything with blockage everything with the doctor suggested caused this pregnancy I have never had but I keep having ovarian pregnancies.. or if maybe my husband sperm is not any good and we do not know it and it is causing issues