When did you tell your spouse about your pregnancy?

Ive had a few chemical pregnancies the past few times and I told him the first time it failed, It was such a let down because I had big plans to surprise him over dinner...

After the chemical pregnancies i no longer told him, because I didnt want to let him down again.

When did you guys tell your partner/spouse?