When to test ?

If my period is October 13th what’s the earliest I can test to get a accurate result