When to share the news!?

When did you tell your parents, and your boyfriend/husbands parents you were pregnant?