Dpo and af

Angela
I use ovia as well as it tells me today (cd 20) that I have 10 days to wait until preg test (when I would be about 12 dpo) BUT af is due 2 days before that! How many dpo can I test to get a reliable answer?