You need to wait at least 2, preferably 3, weeks after having sex to test reliably, OR, wait until you are due. I know, some tests say that they can detect pregnancy up to a week before your period. They ARE VERY UNRELIABLE.
False negatives are common testing early, false positives are rare.
Precum can contain sperm too. It depends upon when he last ejaculated.