Positive then negative

Ok so I took a test this morning when I woke up and it was positive. So I took another test right after to double check and it was negative. So now I’m very confused as to if I’m pregnant or not. Keep in mind both where taken with the same pee. Has this happened to anyone else?