The way to get over OCD is not to try to squash it down, which doesn’t work, but is rather to find a path in life along which one’s OCD can push one forward.
And that is how one gets over OCD: one gets over it not by getting over it, but by creating for oneself a context in which it is an asset and in which, therefore, one need not and should not get over it.