miscarriage factors/criteria

Who is at risk for miscarriages? Is it anyone and everyone or are there certain health conditions, age, family history, lifestyle etc. that can cause them? 
Thanks