Am I pregnant?

So me and my bf had unprotected sex he told me that he pulled out before he came but I found out about a thing called precum so I was worried and decided to take a plan b. However I took the plan b on the day I was ovulating.. could I be pregnant or did it do it’s job ?