It is recommended to wait two to three months before visiting a newborn baby to allow their immune system to strengthen.