What, if anything, was done to actively support soldiers suffering from PTSD or other mental conditions?

What, if anything, was done to support soldiers who actively suffered from conditions such as PTSD, CPTSD, Psychosis, etc?