test how many days before period

How many days before your period did you take a test and showed up positive? Also, what brand of test did you use or what is best?!