How mistakes and failure can affect our mental health