Did you tell your partner as soon as you found out ? Or did you wait ?

My partners upset with me because I withheld the positive test for a couple days before I told him..

I feel like I have every right to. I have 1 child on my own and I’m school full time plus I was on birth control so the chances of a miscarriage are high. It’s nerve wrecking and I needed to process it. Does he have a right to be upset with me? I don’t feel wrong about it at all..should I ?