Pregnant ?

So i decided to take a pregnancy test two night ago. As you can you the one with the blue Line. The second line is very faint. So yesterday morning i decided to go buy another pregnancy test and the first one with the two lines came out positive. I decided to go to the doctors. Stupid me because it came out negative. The doctor tried to downgrade the test i have taken saying it’s probably faulty. So i went home and decided to take the digital one just to see maybe it was negative. Clearly it says positive. Could it be wrong ?