How to prevent obsessive-compulsive behavior