How many day after sex can u take a pregnancy test

How day after sex can u take a pregnancy test ?? And if u have any symptoms after sex??? How pregnancy???