Plan B

I had sex with my partner and the condom broke and soon as he was pulling out, he got cum inside me, less than 10 minutes later I took plan B. Can any of you give me all the information you know about this pill. I'm 15 and my boyfriend is 16. We're both very scared and would like to know some information about Plan B.