STD testing

How do they check for STDs and stuff? Is it a blood test or do they have to look at you?

I've never been to a gyno, pls don't ask about why because you wouldn't understand. I'm just curious,ok