Some antibiotics are safe to use during pregnancy, while others are not. It is crucial for pregnant women to consult their gynecologist before taking any antibiotics. The gynecologist will weigh the benefits and risks and prescribe the safest option for both the mother and the baby.