what to do when mental health affects work