What do you mean by came from the society ? Do you mean it' reactional to the context ? These are the types of depressions where cognitive therapy can be efficient. You can learn to direct your own thoughts, or avoid self bashing thoughts, that will prevent you from falling back into depressions and take control of your own mental wellbeing and your life.