How early can you take a pregnancy test?

Everywhere says something different, so I’m wondering from your experiences...thanks!