When to test?

Hi everyone! So this is my first time TTC and I was just wondering when is the earliest you can test?! Expected period due in 4 days!