Learn how to take care of the baby

How do babies learn to care for the little baby?