Mental hygiene is the study of the development of healthy mental and emotional habits, attitudes, and behavior and the prevention of mental illness.
Another is: the branch of psychiatry
that deals with the science and practice of maintaining and restoring mental health, and of preventing mental disorder
, early treatment, and public health
measures. It's best to start early!