How soon after unprotected sex

Trinity
How soon after unprotected sex should you take a pregnancy test