When to test?

When should you test for a pregnancy test? How many days after a missed period? I tested the day I was suppose to get my period with my son and I got a positive. Now I'm 5 days late and still negative :(