I fucked up

So I know I’m fucking stupid and had sex without a condom. He pulled out but like I was still nervous so took a plan B pill. And I just wanted to know how effective it was. Cause I’m really paranoid. Like getting pregnant would be a terrible thing for me personally. Last time I’m ever that fuckin stupid. But I mean everyone makes mistakes right I just hope this one won’t ruin my life. My period is 9 days away and I’m gonna go crazy until then.