I'd suggest some sort of Affirmations like "I let this obsession go" - something like this. The more exact & precise, the better.
Also I'd suggest some sort of "Autogenes Training" (German word) - the English translation by
www.freetranslastion.com is "Autogenous training".
This should be done imho to release the tension that makes you perform these "rituals".