Yes, you can. The bacteria that the vaginal STD test detects are present in the mucous membrane of the vagina. When you are on your period, the menstrual blood mixes with the mucous membrane, but this does not affect the reliability of the test. However, it is recommended to take the test when you aren’t bleeding a lot.