Not necessarily. OCD (obsessive compulsive disorder), is a chronic disorder, so it lasts a long time. Also, even if you have recovery from OCD, there is a high likelihood that it will return in the form of a relapse. So OCD does not really go away on its own, and you don't really grow out of it.
The only way to eradicate OCD is to participate in treatment. CBT (cognitive behavioral therapy) and prescription medication treatment are effective at eradicating OCD. See the following video on how OCD develops, and how CBT can treat it:
However, if you want a self-reliant approach to treating OCD, then you can consider Anxiety Protocol, a self-help book for anxiety, based on CBT:
And if you want to consider a natural solution for OCD, then you can look at KalmPro, a natural herbal and dietary supplement for anxiety, such as OCD: