STD help

I had unprotected sex yesterday, when can i get checked for an STD? do i have to wait? is it too soon?