How to tackle sex problems resulting from mental health