It is possible for some types of antibiotics to affect IVF treatments. Antibiotics may impact sperm health or other aspects of fertility health. Talk to your doctor about any medications you are taking.