I'm no expert but am sometimes afflicted by intrusive thoughts, sudden impulses, and ocd-like symptoms. Firstly, you've got to get past the anger and bitterness toward God. I know it's hard, but it's making things much worse. Perhaps a change of focus can help.
Aside from going to a therapist and priest, here are things that have helped me: