I started seeing a therapist. They have helped me to learn more about myself and now I can better recognize my mental state.
A therapist is one approach, and in my experience they will help uncover some of the inner workings to help you explore and understand maybe why it happened in the first place. They are like our rubber duck to help us debug ourselves. And with that information, we can start to make the necessary changes in our personal and professional lives so that we maintain a healthy work-life balance.