DPO Question

This may be a dumb question, but do you count DPO from intercourse or from when you've stopped ovulating?