What are the possible causes of a miscarriage, and how can I reduce the risk of another one?

Imelda
What are the common causes of a miscarriage, and are there any lifestyle changes that can reduce the risk of another one? Should I undergo any medical tests before trying to conceive again?