STD testing

Does a gynecologist test for STD or would I have to go to planned parenthood or the Public Health Clinic.