Negative/positive

So I took a digital test this morning & it came out positive. But when I went to the doctors right after, they made me take another test (it was one of those cheap test I’m guessing) and it showed up negative. Does that mean I’m not actually pregnant?