When to reveal pregnancy

Rose

I am 10 weeks and 2 days, I’m scheduled to get the genetic testing done next week to find out the gender and would to know when is the safe period to reveal the pregnancy to family and friends?