Just asking

How soon I should take a pregnancy test after having unprotected sex?