Then I started to over analyze every thought I had and started to worry if I did want to hurt myself or others, if I liked these thoughts, if I was going crazy, if there is something seriously wrong with me, etc. I am driving myself nuts, hypothetically

I hate these thoughts, I want them to go away, but I am so afraid to not worry about them because then I worry that I will do something.
I've seen a therapist and she said this is OCD, i've told my amazingly patient boyfriend every little thought I've had, but I keep coming back to that maybe I need to be hospitalized so that I don;t hurt myslef or others.
I DO NOT want to hurt myself or others, I just can;t stop worrying. I have strong faith in God and I have been praying all the time, I just don;t know what to do.
These posts have helped me feel like I am not such a monster and I try to tell myself that if I hate these thoughts, and I am scared of them I would never do that, but it's hard to turn the worrying off. Any help?