Pregnancy test

Arie
How soon after unprotected sex can you take a pregnancy test? I stopped taking my bc pills 2 weeks ago. Had unprotected sex sunday. My cycle isn't due for another week or two. So is it too soon to take a pregnancy test