Needing advice. Ttc after 2 losses.

Hi all I had I first miscarriage just over 4 weeks ago at 9 weeks gestation. That little bean was supposed to be our rainbow baby as my son was stillborn at 35 weeks gestation just a few months prior, we got pregnant on my first cycle.

Both losses were completely separate and both had no reason for passing at all.

I am very broken and sad but I don’t want to stop trying.

I’ve never had a miscarriage before and I just don’t know what’s going on. I had a natural miscarriage meaning my body just did its thing. I bleed for about a week then just had spotting for the next week.

I am now almost 5 weeks passed miscarriage and have been having cramping stronger than what my normal period would be but I have egg white like cm. So I am confused and I think my body is confused.

Been told we can try after my cycle returns. Has anyone successfully gotten pregnant soon after a loss?

Thank you in advance and sorry for the rant