Hi!
If you were my patient, I would advise you that most antibiotics are safe to take during pregnancy. Cough syrup is usually safe too, although you want to avoid those with alcohol. You were so very early that there is a good possibility that the baby had not even implanted in the uterus yet, at the time you took the medications--if so, the baby would not have even been exposed, so no harm done.
Good luck!
Dr B
Hi im 6 weeks tomorrow and im on antibiotics for a uti also my doctor informed me the ones im on are safe for pregnant woman so you should be ok