Discussing about your mental struggles with people that you can trust is one of those ways that one can get better. I once visited a therapist when I was having a mental meltdown because of work challenges and it yielded good results.