Will this affect my period

Jessics
I had protected sex today, and my period is suppose to start sometime this week. Will having sex affect when my period will come and what are the chances of me getting pregnant bc i had sex days before my period?