Ovulation counting

Victoria
When do you count 1 dpo? The day you start your fertility cycle or the day after you ovulate? And when is the soonest you can start testing?