To ensure the most accurate results, avoid intercourse, douching, or using vaginal medications for at least 48 hours before the test. It is also recommended to schedule the test when you are not menstruating. Inform your healthcare provider of any existing conditions or medications you are taking.