Condom slip

So me and my boyfriend were having sex, and I don’t know how but I think the condom like rolled up a bit but we stopped pretty quickly and he fixed it, and then kept going. He he did ejaculate into the condom, but I think he pulled out before he came. I’m about four days from my period when this occurs, can I get pregnant?