O won't stop
Obsessive thoughts need not be negative, though their persistence is uncomfortable.
For example, a common obsession is counting. Once begun, one "must" count to 20, say. Obsessive thoughts that are negative -- imagining doing something dire -- generally channel other anxieties, and actually alleviate them somewhat, and only briefly. Their "attraction" is the thought, "what if i act"?