We might start here. https://www.thoughtco.com/deviance-and-mental-illness-3026266
You could also take a look at this Cliff Notes version of the sociological perspective of health. https://www.cliffsnotes.com/study-guides/sociology/health-and-medicine/sociological-perspective-on-health
Why is what sociologists do so important to mental health and the treatment of it in our society?