Should I take a test

My period is in a week , literally 7 days from now can I take a pregnancy test??