Sti test on period

Hi Girls , just did a sti swab test , I have irregular bleeding from the pill not my period but I was wondering will this affect the test ?