(more than 30 yrs age) is always a high risk element and your both baby died due to prematurity/preterm delivery.
Plan for pregnancy with consult of gynecologist and take Folic acid
with other nutrient supplements from pre conceptional period to 3 months of pregnancy.
Do periodic USG scan with TRIPLE test
in early wk and more careful about last trimester. Do one USG scan around 30-32 wk and take 2 dose of BETNESOL
inj to give fetal lung maturity as additive.
Avoid heavy work,take healthy protein rich diet and complete bed rest
specially in first and third trimester.
Be well and wish you for successful mother.