Possibly pregnant

So my boyfriend and I had unprotected sex and he didn't pull out. The next day I go and get the plan b pill and take it but I'm afraid I might be pregnant.....help