Advice on chemical pregnancy 😔 my story

So I got my positive in the morning it was faint but it was there and during the day I was spotting very very light brown/light pink.. I thought it was a little worrying but quickly brushed it off as I was 10 dpo and i read about implantation bleeding.

Anyway I told my partner that evening we were all happy and by the early hours I was bleeding red blood and heavier than spotting. How quickly I went from pregnant to a miscarriage. So happy to so devastated in such a quick time. My bleeding has nearly stopped and I can’t stop thinking about the baby that I lost.

I’ve never experienced a miscarriage nor did I ever think it would happen to me.

I would like to try again even though I feel such guilt to do so. Is it ok to try again straight away. Is there anything I could do to stop this from happening again?

With my other babies I took prenatals but this time i didn’t stupidly and feel like that could have been to blame..

I’m so scared to try again and for it to happen again 😔