how to prepare for a pregnancy.?

I lost mine a few months ago while he was in my belly 😔 I was 9 months but the pregnancy wasn't planned so I didn't prepare for anything. This time I want to make everything right, what should I do what should I take .? I want my rainbow baby to be perfect in health, any tips .?Â