positive test then negative (few days later)

hi everyone, i took a pregnancy test last Thursday and the test was clearly positive and i took the second one this morning and it was negative. i am not sure why, i have not got my period yet either. was the test broken maybe? did it get too much moisture on it maybe? has this happened to anyone? And i used first response.