Pregnancy Test

I took a pregnancy test four days before missed period and the line came out faint at first and about three minutes later it disappeared/was extremely faint. Any ideas on why this happened?