i had unprotected sec

I had sex the 20th when should I take a test