Lifestyle factors such as work, diet, and lack of sleep can have a significant impact on mental health. High-stress work environments, poor nutrition, and inadequate sleep can contribute to the development and exacerbation of mental health problems.