Your doctor will also test you for STDs, such as gonorrhea. Your urine may also be tested to rule out a urinary tract infection. Your urine may also be tested to make sure you are not pregnant.