Mental health care before, during, and after pregnancy can have long-term positive impacts on health for families.