how to count dpo??

If u get ur peak/positive opk ppl say u ovulat 12-48 hours later! So do u count dpo from ur peak or from 48 hours later when actually ovulate??