Plan B

So I had unprotected sex yesterday yes I know that’s bad but he didn’t orgasm but I’m concerned about a risk of pregnancy due to pre cum should I get the plan B pill or would I be ok? I’ve heard it only has dead sperm or no sperm at all but I’ve also heard it can contain sperm so I don’t know what to do