When to announce a pregnancy

Faith
Hi- I'm 7.5 weeks along and my anxiously holding my pregnancy secret. I recently (6 months ago) had a miscarriage at 7 weeks. I'm worried about when it's okay to tell people?