When can we test?

What is the earliest i can take a pregnancy test? I am 6dpo and feeling swollen boobs and fatigue. I am so ready to go to sleep.