Back in "those days" what means did they really have?

Back then to admit you had depression would've been a disaster maybe.

I have read that people were just labeled unfairly as crazy if they had any sort of mental issues. Their families unjustly had them committed to those lonely, horrible asylums where they were drugged into a stupor. That was AFTER Abraham Lincoln's days so what would have been done for him? I think he had no options for care of his mental health.