Plan b pills

Patient: Hi I was just wondering if the plan b pill works if you take it before having sex. I’m asking this because I took plan b because the condom broke so I took plan b the next day but then 2 days later the condom broke again so I’m a little worried I’m on birth control but haven don’t think I have taken enough for it to become effective. What would be the best thing to do? after the condom broke I took 4 demilem 30 birth control pills will this help? Thank you for you help

Doctor: