Could I still end up pregnant?

I know it might come off maybe like I’m being ignorant and stupid and unsafe, but last week for the first time before I had the guy I was messing with put a condom on, I recall that he had pre-ejaculated and had only rubbed his dick on my pussy, we didn’t have intercourse. He didn’t go inside my vagina and I know it says that the sperm has to go inside the vaginal walls, but I also read that if cum or even pre-cum was even close to my pussy, I can end up pregnant.

Apparently I’m supposed to get my period today or tomorrow at the latest I assume and I know the only way is to get a pregnancy test but I’d have to wait 2 weeks and I am scared that it would be too late then.

Am I freaking out for nothing? I’m trying to remain calm so that I wouldn’t add more stress and delay my period.