Mental Health treatments prior to Renaissance Period

What are some methods that were used to treat individuals who were presumably suffering from some form of mental illness prior to the Renaissance period? What was the rationale behind these methods?