Miscarriage

Should I tell my ex about our miscarriage? We are kind of going through a break up but I recently found out I had a miscarriage and at on point him and I were trying to conceive. Is it right to let him in and tell him?