There is a really good OCD book, which deals with intrusive thoughts.
A very helpful book with coping ways to deal with obsessions.
The name of the book is:
Coping with OCD: Practical Strategies for Living Well with Obsessive-Compulsive Disorder.
By Bruce M. Hyman and Troy DuFrene
It is available on Amazon.