Pregnancy test

Be
How soon can you take a pregnancy test after having sex?