Period and pregnant

If you have unprotected sex 2 days before your due for your period and then get your period is there still a chance your pregnant?