Maybe pregnant?

My boyfriend and I had unprotected sex yesterday while I was on my period ( please don’t judge we are super close and he doesn’t mind it, and plus I barley had any blood ) he didn’t cum in me, but there’s obviously Pre-cum , but we thought it wouldnt be a big issue since my period would end in 4 ish days so I wouldn’t have a very big chance of getting pregnant since the longest the sperm could stay in my body is 5 days, if it even makes it. But now my period is really slowing down and I’m expecting it to end in 1-2 days meaning we had unprotected sex max 3 days before my period ends. Does that mean I have a high chance of getting pregnant?

Im so scared