when is the earliest to take a hpt?

al

According to the app I'm 7dpo. when is the earliest I can take a urine test? AF due in about 10 days. Should I just wait?