Help please!!!

What can cause a miscarriage? I miscarried in April and I'm confused about why it happened. I'm not ready for a child yet; I'm 18 and I just want to know the possible reasons/don't understand as to why I miscarried.