how long?

how log should I wait before taking a pregnancy test?...so far it's been 3 days since the oopsie.