I had a belief that God influenced my good thoughts, and that the devil influenced my bad thoughts, and that he was some kind of scary, shady figure from the void that was hard to control and fight, but then I looked into the Zoroastrian belief of God, which revealed that the devil was merely God’s bad side, so I didn’t feel so crummy and evil about those intrusive thoughts anymore.
Also, it helps that my brain is healing at the same time, which takes the edge off of those intrusive thoughts.
Kind of took the pressure off of those thoughts, and the feeling that I was being “possessed” or something creepy like that went away with that realization. I’m still pretty devoutly religious, doing Sikh prayers 3 times a day, so that’s a factor too.