Neonates can acquire infections through various routes: - Vertical transmission: This occurs when the infection is passed from the mother to the baby before or during birth. Examples include group B streptococcus, herpes simplex virus, and cytomegalovirus. - Horizontal transmission: This involves the newborn contracting an infection from the environment after birth. This can happen through contact with contaminated surfaces, medical equipment, or healthcare workers.