Yes, you can treat and eradicate OCD (obsessive compulsive disorder) by engaging in CBT (cognitive behavioral therapy). CBT helps to identify your triggers, address your automatic thoughts that cause anxiety, and address your compulsions which serve to maintain the negative cycle of OCD:
If CBT is not successful alone, or if your OCD symptoms are severe, then you may need prescription medication treatment.
For more information and help on OCD, get the self-help book Anxiety Protocol: