can you get pregnant a week before your period is due??

So i had unprotected sex a week before my period is due. Is there a possibility i can get pregnant or am i just freaking out over nothing?