Its 4 days before af i got a negative hpt this morning am i out?

Has anyone ever tested from 4 days before their af got a negative then got a positive test anytime after? Thankyou