Unprotected sex

I made a mistake last night. He pulled out the three times we did it. Ik it’s still possible though. I ended my period two days ago. Idk if i should take plan b.

What happens when you take it?