When should I take a pregnancy test?

After the first day you missed your period or a week after?