It can be frustrating to talk to someone in depression, but I would stay calm make sure they are calm; and if they talk too negatively I would tell the person they always have something good to live for. Talking about the problem caused the depression can help to know what can make it better to move from the problem or stop it. I’d recommend therapy online or offline in ways that don’t make the person feel crazy, but therapy making he or she feel special and friended!
