People who are affected by depression do not agree with this fact that they have.
So if you are their family or friend, you should stay with them.
But staying close and listening to them does not work for depression, you should try to convince this person to start going to a rehabilitation center.
If these people are convinced that they need to go to rehab, then they will start to recover.