When to test?

Do I count dpo from the first or last day of ovulation?