Help!

I found out I was pregnant 2 days ago when I went to the ER for an allergic reaction to nuts. I wanted to announce my pregnancy to my husband today but the test I have at home showed “No -“ aka negative. It was a digital frer. Now I’m second guessing myself.

I opened the test and there’s a faint line but I’ve heard digitale always show a faint line.

Which test was wrong? The doctor or the digital test?

I’ll go out and get another in the AM, I just can’t sleep now that I went 2 days thinking I was pregnant and now I’m thinking maybe not?

Ps the doctor test was urine but I know they took blood work too. They didn’t show hcg quantitative on my discharge papers but they did “diagnose” me as pregnant.

Also, I got an epinephrine pen while I was in the er. Could that have caused a miscarriage or chemical?