Late period, pregnancy test?

How long do you have to wait to take a pregnancy test after you missed your period? I'm late by 4 days but from I've read, its best to take it two weeks after your missed period. Is this true?