This depends on what type of treatment you are receiving or wish to receive.
If you’re looking for medication, it’s important to be sure that you are seeing a psychiatrist. Although many general practitioners will prescribe psychiatric medications, you are better off seeing a psychiatrist who has had extensive, specific OCD training.
However, if you are in an area of the country where there are no psychiatrists available, then a general practitioner will be fine.
If you’re looking for a therapist, you want to make sure the therapist has specific training in OCD. If not, ask him or her to refer you to a therapist or psychologist who does. When you do meet a therapist who has OCD training, be sure that the therapist does exposure therapy.
If he or she does not, then ask that therapist as well for a referral to another therapist, because the two empirically validated therapies for OCD are CBT and ERP.
While other therapies might be helpful for OCD, none have been more researched than CBT and ERP.