help!!

i had sex the last day of my period. i had been on antibiotics 4 weeks before but they ended 3 weeks before i had sex and i already had me period. (i’m on the combination pill and i take it regularly, but i was on antibiotics) we had sex w/o a condom (big mistake i cant take back) he didn’t cum at all, pulled out, i was very dry, and he hadn’t masturbated since the day before so i feel like if there was precum it might’ve been okay? idk how all that works though. plus it says usually to use protection the week after antibiotics and it had been 3 weeks? we had sex again like a week ago with a condom and he pulled out and i’m on a new pack. should i be okay? please help, my period is in 10 days and i’m sooo nervous. and i understand to practice safe sex, it was a mistake.