Antibiotics prior to ttc

Has anyone ever taken antibiotics prior to TTC? I’m wondering if it has any impact on fertility or whether it can cause issues in the fetus. The antibiotic in question is Dicloxacillin.