When did you tell your child/children.

This is my third pregnancy, second one ended in a missed miscarriage at 6wks. I am currently 6wks and 1 day and have my first prenatal visit tomorrow. Praying for a healthy baby and healthy pregnancy!! With that being said last time I did not tell my child I was expecting because she is young and I just had a feeling.. So my question is when did you tell your other child/children that you were expecting another baby? Did you wait till second trimester or tell them right away? My child is only 4 so I’m just worried that I’ll tell her to soon and have another miscarriage and then have to try to explain that to her... any input is greatly appreciate! As of now only my parents and in laws know about this pregnancy.