Chemical pregnancy, pregnant and miscarriage

Danylle
I had a chemical pregnancy in February and bleed heavier than normal for 2 days usually 5 days with period. Became pregnant in March, started miscarrying at home and next day was my scheduled D&C last week. I'm just wondering when I had the chemical pregnancy did I need my body to heal before getting pregnant in March because now that's 2 events that have caused so much pain? Should I have waited one complete cycle before getting pregnant again? Is it wrong to try again right away and not sure if or when I should try again for the third time?