DPO confusion.... Help?!

Payton • TTC #2
How do you count your DPO? The day your fertile window starts or the first day after glow tells you that you have ovulated?! And how many DPO after do you take a test? Thanks!