Help!!

J-Snuggles
I'm 22, and on April 11 I had surgery to see if I had endometriosis because my periods weren't regular and I was in so much pain all the time. I had already been diagnose with POCS. Since I was 15 and on birth control. They took me off when I was 19 hoping my hormones would make my periods regular my ovulation isn't normal either. I found out I didn't have endometriosis may 2. On may 9th, 10th, and 23rd. I had unprotected sex. Has any one conseved after an endometriosis surgery? Or had sex right after a period and conseved? Any information would be appreciated!