Preparation for STI testing may vary. For instance, individuals undergoing urine tests should avoid urinating for at least an hour before the test. It's also important to inform the healthcare provider of any symptoms, sexual history, and use of antibiotics.