He didn’t pull out

So my boyfriend and I had sex and he didn’t pull out... I took plan b not even an hour after like maybe 15 minutes after. So what are my chances do you guys think? How effective? Will it be I’ve never taken it before am I going to get my period? How do I know if it worked?