Need advice

PD

Can anyone tell me how plan b work

I had Sec 2-3 days after ovulation (day 18) he didn't cum inside vagina

I used plan b at once

Really I am afraid I know it was a mistake that we didn't use condoms or birth control but it was unplanned

Can anyone help