When to tell people

Just found out I'm pregnant and I dont know when to tell family and friends

Is there a general time frame you wait before telling?

I'm about 2 weeks