OCD

I was dignoised with OCD about two years ago. I always did things like counting at random times and checking something over and over again. I realized it when I started dating my boyfriend. I would get very possessive and he hated it and so did I. I don't know what to do.