How to cure obsessive-compulsive behavior