No they do not test for STD, so go get yourself tested. If all is negative, dont be so silly as to take risks in the future. If it is positive, you get treated hopefully before you develop any secondary problems. In most cases it wont stop you flying.
What is not acceptable, nor indeed legal, is to continue as you are if you believe there is a significant risk of being infected and not declaring it