Pregnancy testing???

When is the earliest I can do a pregnancy test?