Pregnancy conception wonders

Okay girls I’m a little uneasy... here is the run down

I had sex with a guy on June 30th although it wasn’t a full out thing and he didn’t cum inside of me at all I still was a little skeptical because we didn’t use a condom. Ok secondly a guy that I deal with on the regular me and him had sex on July 2nd which that day was a very high ovulation day and three times of ejaculation from him lol SO I got a positive pregnancy test on July 27th and the doctor said the baby was conceived on July the 3rd so the doctor said the sex on the 2nd of July makes sense BUT should i just throw the thought of the other guy out of my mind or just consider him too just to be on the safe side!???? 🤔