How long after sex can you find out your pregnant?

 My husband and I had sex 6 weeks ago and I'm 2 days until AF. When is the first time you can tell your pregnant after trying to conceive?