Sorry dumb question about PCOS?

Nataly
How do you know when you have PCOS? Does your doctor do u a vaginal ultrasound? Or by blood?