When to do a test??

Laura
Af is due 17th October, how early can I test?? Tia ?