The safety of macrolides during pregnancy varies depending on the specific antibiotic. For instance, erythromycin is generally considered safe for use during pregnancy, whereas the safety of clarithromycin is less well-established. It is crucial to weigh the benefits and risks and to consult current guidelines when prescribing these medications to pregnant women.