Congenital syphilis in newborn babies can be prevented by testing mothers for syphilis during early pregnancy and treating women who are infected. By following these steps, in 2015, Cuba became the first country in the world to eradicate the spread of syphilis from Cuban mothers to their babies.