for anyone curious about the book ive been reading about it and dealing with it, it is called:
Overcoming Unwanted and Intrusive Thoughts
(not to be read in place of cognitive behavioral therapy, which is something you should seek out if its just unbearable to deal with)