Genital herpes is one example of an STD infection that may be passed to the baby during child birth. Although only a small percentage of pregnant women with genital herpes pass it on to their newborns, it can cause serious problems with the brain and other internal organs.