Is it possible to get pregnant a week before your period?

I had unprotected sex a week ago and he ejaculated inside me but I wasn’t ovulating and I got my period on time. I’m just wondering if there’s still a possibility of me being pregnant even though I got my period.