Basically, the person with OCD is exposed to his or her obsessions, encouraged to feel the anxiety, and asked to refrain from engaging in rituals (compulsions) to reduce the fear.
So you see, while OCD can be tricky, it can always be beaten. Sometimes you just need to be more creative than usual.