What initially looked like Clickbait on Psychology Today, turned out to be a good article:  

5 Types of Self-Talk That Guide, Heal, and Motivate

The content is quite important, especially the 3C trick to positive neuro-behavioral predictions. 

The 3 Cs are: Catch, Challenge, Change. But while Psychology Today wants you to challenge your irrational beliefs, I think it is more important to catch your "old" or "outdated" thought patterns and change them into your preferred beliefs.  

Catch yourself using a thought process that is problem-perpetuating or problem-flooded, such as "I want to get away from these people that are talking to me and bugging me."

Challenge the reasoning and the source of those thoughts: maybe by calling out the depression for what it is doing to you by thinking or saying "The depression is trying to remove me from people who want to help me by tricking me into wanting to remove myself."

Pretty Picture Because it Helps Make it Easier to Read

Pretty Picture Because it Helps Make it Easier to Read

Change your thought pattern by replacing it with your preferred reality thoughts and actions: You could fight back against the depression by talking to the person who the depression wanted you to avoid, you could choose to push back by talking to someone you have already identified as supportive and helpful, or you could simply reframe the thoughts in your head: "Depression is a very strong influence right now and I need more practice and support to be able to fight back every time, it's okay that I leave and sleep, but it's not okay for me to let depression trick me into believing these thoughts are okay or from who I know I am." 

You don't have to win every situation to keep pushing back. What you need to do is start reframing thoughts and feelings to fit your new, preferred way of being in the world and keep practicing. Just like practicing almost anything, over time you will notice you are getting better at it.