Calculating DPO

Sara
Can anyone tell me the correct way to calculate DPO? The day after a positive opk being DPO1 or the following day given you normally get the positive opk 24-36hrs before you ovulate?