When to test?

How long is best to wait until after a missed period to test?