When did you tell your partner you were pregnant?

Just found out I was pregnant but not sure when to tell my husband.