We've told our families, told them straightaway. Figured that if anything goes wrong we would need our family support, and also they would probably wonder why we didn't tell them we were pregnant, but told them when it went wrong. Plus we would all go through it together then, it wouldn't be such a shock for them!
Haven't told general friends though, will tell them when have 12 week scan!