How long should u keep the hpt?

After testing if its a negative how long till u should throw it out? I have heard people say their test said negative but 'so on' later it was positive. Shouldnt a test show straight away though.