You must get your thoughts and feelings out, unrestricted, but in such a way that meaning emerges and sense-making is facilitated. To attain that, figure out which issues you need to face and write acutely about them, aiming to penetrate them fully.
“Bad times coupled with good reflection provides some of the best lessons.” -Ray Dalio, Principles
Second, going through hell can both filter and enhance your relationships. It will separate fair-weather friends from real comrades and can deepen the connection you have with the people in your life.