FREAKING OUT please help :(

El
I read somewhere that you're not supposed to use antibiotic ointment while pregnant.
I cut myself pretty badly while shaving, cleaned off with alcohol and used some ointment without realizing. When I realized it, I took the bandaids off, wiped the ointment, and reapplied dry bandaids.
Is that even true? Should I be worried? I'm freaking out.