According to your description, obsessive-compulsive disorder is more likely.
At least what kind of treatment methods should be adopted, so that doctors can fully understand the condition, personality characteristics, comprehension ability and so on, and make a final decision. Hypnotherapy may also be one of the optional methods.
In fact, it doesn't matter what method, the key is to solve the problem.