For people who can’t function at all in their day,who they can’t work,can’t walk,can’t get out of bed,can’t even talk due to severe depression,to people who feel completely nothing,what medication do these people take?

Or are they treated with other methods like brain stimulation for example.