Hpv and infertility

I just recently had surgery to remove endometriosis come to find out I didn’t have it and had an infection from my <a href="https://glowing.com/glow-fertility-program">ivf</a> procedure / miscarriage , I also found out I have hpv . I haven’t even been with many people so I am wondering how I got it . The only way my doctor found it was doing a biopsy because I had precancerous cells . I have another procedure in a few weeks and I’m scared it’s going to ruin. My chances of ever getting pregnant . Plus my husband has low count too . Please keep me in your prayers .