Testing

Is there a certain amount of days after you've missed your period that a test will say your pregnant or does it not matter ?