There is no sure way to prevent an umbilical hernia, as it largely depends on factors related to fetal development. However, ensuring proper prenatal care and addressing risk factors such as low birth weight may help reduce the likelihood of occurrence.