pregnancy tests?

Jackie • 16. Act•Dance•Model•Sing•Rap
so i just got a pregnancy test. how long after i have sex can i take the test and have it give accurate results? i had sex on august 16 and i really hope i'm not pregnant. so how long can i take the test and know for sure? and please don't say when you're supposed to get your period because my periods are extremely irregular.