Create a healthy environment
Entertaining negativity, bad vibes and behavior not conducive to your overall well-being is not a good look.
Learn to discern what you will and will not tolerate and live accordingly.
One more thing to consider, depression has a high chance of being passed down genetically, as explained by Healthline. That in and of itself should be a strong motivator to heal ourselves.