One thing is to get married
Don't get me wrong -- marriage is/can-be wonderful, but you owe it to your partner to bring your mentally-healthy self to the table, not to burden someone else with your problems because new challenges will result. Life is struggle, and having someone to lean on is wonderful.
I like what one of my coworkers said: Marriage can bring higher highs and lower lows, but the average is still better.
Of course, all of that is nullified if you both don't have the commitment and put in the effort to make it work.