How many dpo do you test?

Paige • 23- UK. Our little pea due November2017 ❤🌈🌞
Do you test from your last ovulation day or first ovulation day. So for example if I ovulate 14th to the 21st and had unprotected sex on the 17th when is the soonest I can test? Will it be 10 days after the 14th, 10 days after the 17th or 10 days after the 21st?