Help!!

When is the earliest I can take a test to get a 100% result? I’m due on my period on 9th June I took a test today and it had a faint line!