Plan B pills.

Meredith💓
So me and my boyfriend were having sex Thursday and the condom broke and he said he only pre came in me, but we got a plan b pill anyways. I don't start my period till the beginning of the month but I'm scared I really don't wanna get pregnant. Do they work??