pregnancy test

how long do you have to wait for a pregnancy test to show your pregnant? like if I had sex November 7th, will the test give me an accurate response if I took it today?