Announcement - when?

I’m 13 weeks and had my first scan. Everything is ok but I don’t know when to start telling people we are expecting?

I’ve two friends that are currently having difficulties conceiving (one who’s not in a particularly good place) and am worried how our news might effect them?!

When did people start announcing their pregnancies to people?