I’m freaking out please help

I just had sex and when he pulled out the condom was broke. He pulled out before he came and I took plan b but I’m freaking out. Is there a chance I could be pregnant?