My son had pink eye about a week ago

I’ve had a bad cold all week and I went to urgent care this morning because my eye was all red

They confirmed it and prescribed me some eye drops

I looked them up and they are a class C drug so I’m freaking out a little bit

Anyone else take antibiotic drops during pregnancy? Looking for some reassurance that baby will be ok... I’m in the third trimester