DPO + OPK TESTS

I’m newer to the ttc club and am wondering if it’s the standard to count your dpo from a positive opk test or 24hrs after? I’ve been assuming I’m ovulating 24hrs after and have been counting from that day rather than from the day with positive opk tests, when taking pregnancy tests. Thanks in advance!