Is there any possible chance I could get pregnant?

Yesterday I had unprotected sex only because he promise me that he buy the plan b and now all of that is out the window. I'm wondering because I had sex two days before my period and I'm really confused can I get pregnant or not? Please help