so sorry for your loss. it happens to mothers. i also went through such pain, in fact twice. i was later placed on some folic acid diet and now i can say i have by 3rd baby approaching 6 months.
maybe you can get tips from your gynecologist on how to go about preparing and managing your body for the pregnancy,. all is not lost though, you will make it.