When you feel comfortable enough to tell them. . You're an adult now and can do this! I was nervous telling my parents I was pregnant even tho I'm 20 and married lol so weird
I told my parents and in laws right away but waited for the first ultrasound then told others bc we did not know how far along as was and then my mum had prevented me to tell others. Many woman prefer to wait for the second trimester when the risk of miscariage is lower.
Whenever's best for you :) lots of ppl say 12 weeks but we told right away. Whatever makes you happy