how to study when mental health is bad