Pregnancy test

Hey I was just wondering how long I'm supposed to wait to take a pregnancy test, like the pee in a stick one? If I had unprotected sex on Saturday how many days from then can I take the test?