How Long to Wait after 8 Months PP and MC

Hello

I was hoping to get some advice on when to start TTC. I have an 8 1/2 month old and am currently experiencing a miscarriage at 5 weeks from an unexpected pregnancy. I keep reading wait at least 3 months before trying, but should it be longer since my baby isn’t a year old yet and to prevent another MC? Or should it be shorter because getting pregnant can be easier? Thanks.