DPO???

when calculating dpo, do you go by the last day you were ovulating?? the peak day?? or the first day???