Can it be? HELP

I had my period on the first. Then Me and my SO had sex the 14th.. Which was one of the fertile days. We used condoms most of the time but twice he pulled out a min or two before he came...can you get preg even tho he pulled out mins before?? And when should I test??