Yes you can but unlikely. You can go test for gonorreha and chlamydia after 2 weeks from exposure. HIV, if worried about that, at 6 weeks. For herpes, if you don’t have any sores or lesions pop up (usually 2-10 days after infection), it is not recommended to test but you certainly can via the IgG at 12 weeks.