When to test

Lauren
How many dpo can you test? Mine says I'm 7dpo and yesterday I had brown discharge when I went to use the restroom. Is it too soon to test?