Will I get pregnant?

Me and my boyfriend had unprotected sex earlier, he didn't cum in me but there was still pre cum. I took the plan b pill about 40 minutes aft0er, I'm not ovulating but I'm still not sure.