There are no set rules of when to tell. Many wait until the end of the first trimester.
I told everyone right away in all my pregnancies. Reason being is that if I had miscarried they all would've been told too. Besides, I'm not as patient as most in keeping a secret such as this
