When to test!??

So I obviously have a very short cycle this app says 17 days. If I just ovulated 2 days ago but I'm due to start my period in 7 days when can I take an early test?