How early can you take a pregnancy test

My boyfriend and I have been trying for a little while to get pregnant my period is due next week but I’ve taken 2 tests and both came back negative. Will it show up before 4 weeks or will I need to wait till I miss my period??