Serious question..

So when exactly would u have the hormone in your body to detect on a pregnancy test ? Is it when the egg implants or can u still get a early veryyyyyyy faint positive when the egg is fertilized?