how soon can an sti show?

i got this pimple/boil on my ass a couple days after unprotected sex. how soon can an sti show and how soon after sex can i get tested. no judgements please as you do not know the situation.