Soonest I can test?

My period isn't due until July 20th, when is the earliest I can take a pregnancy test?