Am I ok? Was I safe

My period ended March 15,2021

Had sex March 18,2021 used a condom. Check the condom and notice a small leak. I did take a plan b the next day. (Had sex around 9pm on the 18th and Took a Plan B at 7:15pm the next day just in case which was March 19) I did not throw up the pill or anything

My question is ... am I ok? Did I do the right thing .... as being safe and careful We practice safe sex but there was a small leak and we both continue to find the next step precaution if that makes sense. My period is due in 6 days and I’m overthinking it