Pregnancy test

How soon can you take a pregnancy test? App says i ovulated on Saturday and I should be starting my period on the 17th.