Illegal drugs, like heroin and cocaine, are also poisonous to the fetus and can cause many different congenital problems. For example, cocaine use during pregnancy can cause microcephaly (a smaller head size than usual) and problems with the way the fetus's urinary system and genitals grow.