STD test?

Has anyone ever been tested for STDs, maybe know an average cost, or the procedure of such an act?