TTC 6 months

Been trying for 6 months and no luck. I think may be i am not ovulating. My periods are irregular sometimes i also skipped 2 cycles in a row this year. Which doctor should i consult ob/gy or amy fertility specialist? Will ob/gy be able to subscribe me medicine to regulate the periods and for ovulation or should i go to fertility specialist? Im 30 yr old.