Why people are depressed and how to relief

The depressed is a bad feeling, If you depressed obviously does any bad think of you like. How to relief just you can’t thought depressed Sean or what you feel good and do that. If any failure depressed to you example like success so you should be need experience like you need to try multiple kind of system and patience.