When is the earliest I can take a pregnancy test?

Kaitlin

I am 7 days away from my period and I have been practically sleeping on the bathroom floor the past two days. Also experiencing other symptoms