Plan B

My husband and I have been trying to avoid conceiving until we are stable enough to move out of my parent’s in law unit. Last night, I used lube on him without a condom and then when he put the condom on and we had sex, afterward he said he thinks it slipped off and some of it leaked out either on to the bed or on to the outside of me. I already have one child that defeated the Plan B pill but it was taken 36 or so hours after contact. I took another plan B (10 years later) last night right after he informed me that we may have had an “accident” if you will. How effective is the Plan B pill if taken right after sex? I am terrified that it won’t work due to previous experience, but I let more time lapse last time. Any advice is appreciated. Thank you.