Can I still get pregnant?

My boyfriend pulled out last minute and got a little cum inside. I’m suppose to be getting my period in two days, is it possible to still get pregnant?