Real loathing is what you are after. This step may end the problem all by itself. If it doesn't, then balance out the lingering remainder of the obsession by once again generating its opposite emotion. Thoughts of greed cover everything connected with desire, from outright avarice for material gain, all the way down to a subtle need to be respected as a moral person. Thoughts of hatred run the gamut from petty peevishness to murderous rage.
Delusion covers everything from daydreaming through actual hallucinations.
Generosity cancels greed. Benevolence and compassion cancel hatred. You can find a specific antidote for any troubling thought if you just think about it a while. There are times when things pop into your mind, apparently at random. Words, phrases, or whole sentences jump up out of the unconscious for no discernible reason.