I have tried to ignore it and that only makes it worse. But when I pay attention to the doubts, it annoys me and again makes it worse. It seems as if there is no solution.
Just because you might have some doubts, or even excessive doubts about certain things, it does not mean you have "OCD". We must remember that such problems must be diagnosed by a psychologist or a professional in that field.
Scrupulosity starts off very innocently, due to one's concern about getting their religious acts right and valid. However, it turns in a very bad state that make one very miserable in the areas they suffer in.
Instead of feeling a sense of spiritual uplifting or inner-peace, waswasah becomes a burden and leads to hating religious practices.
Please watch this presentation: