Earwax blockage?

I have an earwax blockage and I'm not sure if I go to my obgyn or do I make an appointment with a regular doctor to get it cleaned?