Mental hygiene
a branch of medical knowledge that studies the conditions and environmental factors that affect the mental development and mental state of a person, and develops recommendations for the preservation and promotion of mental health. The main goal of mental hygiene is to preserve mental health.