Every time I took a urine pregnancy test it said negative

Every time I took a urine pregnancy test it said negative. The hospital told me I wasn't pregnant but today my OB doctor said I'm definitely pregnant !