STI testing can involve various methods such as urine samples, blood tests, swabs of genital areas, or physical examinations. Some infections, like HIV and syphilis, are typically detected through blood tests, while others, like chlamydia and gonorrhea, may require urine samples or swabs.