Pregnancy test question?

Priscilla
How long do I have to wait until I take a pregnancy test? Had unprotected sex with my boyfriend twice last week. Haven't been on the pill now for a month.