Infertility Q

Can your doctor do any type of test to see if you're infertile or will need help ttc? Right now I just go to my PCP; should I try an Obgyn?