STD testing

Can you get tested for STDs while on antibiotics?