It is possible to get pregnant one week right before my periods ?

Me and my husband had unpotected sex yesterday, ( with unprotected sex i mean not that he has ejaculated all in my vagina but he isn't sure he did it all outside) but i am 1 week before my periods starts. It is possible to get pregnant on these days , if he have ejaculated a little on my vagina?!

I am 17 months PP, with c section delivery and what the doctor said to me it is not enabled to get pregnant again before 2 years after an c section delivery.

Help me please , thank you