sex with my ex but important question

i had sex on my period with my ex it was great but like i have like a question it may seem. dumb but i don’t know but i was wondering if i could get pregnant if he came on me even tho i’m on my period i peed right after we had sex so all his cum came out but someone tell me please