The American Congress of Obstetricians and Gynecologists is now recommending women get antibiotics before having a C-section.
They say around one in three women who have an unscheduled C-section develop an infection because of the uterus is more exposed to bacteria.
After reviewing several studies, the group found giving antibiotics pre-surgery lowered the infection rate in mothers and posed no greater risk to the babies.
The new recommendation is not mandatory. However, some pediatricians are concerned the drugs may mask possible serious infections in the baby that are unrelated to the C-section.
Currently doctors give women antibiotics after a C-section to protect against infection.