Testing

How early can I test before my pissed period? Also will it matter on the test you use.