Confused.

I had sex with two guys. I had my period on March 24th and then had Sex with the 1st guy multiple times this month like 8-9 times, he came in me and then the 2nd guy I had sex with only once was April 6th, he came in me but he said he can’t have because he had double or triple hernia when he was born, where his testicle got sucked up. The doctor said he doesn’t have a chance of having kids. Now I’m pregnant. Anyone tried a paternity test while their pregnant? I need advices.