How long should I wait?

Kyla
How long am I generally supposed to wait after having unprotected sex to take a pregnancy test? It's been about a week