plan b deos ir woti after period


hy guys I had sex on the last day of my period it was on Thursday and the 18 hours later I took morning after pill on Friday

the condom broke am I safe or what is it going to be effective?