There is no way you can get pregnant. Usually the follicles rupture and release the eggs around CD 13 - CD15 depends on each individual. 2 days before you have period and have unprotect sex, there is no egg to conceive.
take care
Did you have unprotected sex any other time? You wouldn't get preg. few days before the period. You can only get pregnant when you ovulate which is 14-16 days before the next expected period.