Pregnancy test

How early can you check if your pregnant or not(before period)?