Birth control and Plan B

So last weekend me and my SO had something crazy happened. When he went to cum inside me in the condom as he pulled out the condom was stuck inside me but his cum was on my opening and none in the condom. I’m on birth control but kinda panicked cuz we never cum inside me so I took plan b. I’m not even sure any sperm went inside me if it did was a little amount. But should I be fine considering I’m on birth control and took a plan b as back up?