Can you get pregnant 7 days before your period

I know people are going to say No but we had sex tonight and My period is due in 7 day's I read you can get pregnant 3 days before or after a period I just been trying for so long now maybe too hard