Pregnancy Test!!

After sex how long should I take the test?