When to start counting dpo

From what day do you start counting dpo? From last day of the week on the app showing fertility?