BROKEN CONDOM PLZ HELP

I don’t have birth control and my boyfriend and I were having sex, like amazing, out of this world sex and the condom broke at the second he came. Inside of me. We rushed to the nearest Walgreens and got a plan b but something in my gut is telling me it isn’t gonna work. I don’t know what to do