Help Please

I took a digital pregnancy test and it said pregnant. 30 minutes later I took another digital and it said not pregnant. I don’t know what to belie when.