How to deal with judgement?

I’m 22 and my husband is 25 he’s in the army and I just got my bachelors degree. When we got married we got a lot of judgement because everyone thought I was just gonna get pregnant and never do anything with my life. Well 3 years later I do think I am pregnant and I just can’t help but be scared to tell anyone because of the judgement I’ll receive. Any tips on how to deal with it?