Plan B

Yesterday during sex my boyfriend pulled out but the condom somehow slipped off when he did. I freaked out, cried, and called my friend. I went and got the Plan B pill and took it within the hour after sex. I’m not experiencing any side effects. Should I be worried it’s not working or is there anything else I can do now?