Infertility Testing

Does your doctor or obgyn do the initial testing for infertility? Or is everything done at the fertility clinic? I have an appointment with my obgyn next week and am not sure what to expect. Any advice would be appreciated!!