When should I get tested for STIs?

I had unprotected sex with a new guy. We didn't talk about if we were clean of any STIs or STDs. I forgot to ask because he's only the second person I have had sex with. When would a good time to get check would be? A week? A month? ASAP?