A pregnancy test can be taken the same day or a day or so before the expected first day of your period.