When to test?

How early can you test for pregnancy before your period?