Your health care provider can check for STIs like gonorrhea and chlamydia with a pee test or a swab from the vagina. Doing a urine sample test or a swab test for these STIs while you are on your period is no problem.