How can I stop myself from telling people

Just found out I was pregnant & 4 people already know excluding my boyfriend 😩 I wanna keep it a secret but I'm so excited... I had a miscarriage a year and a half ago that's why I'm scared