What can cause a miscarriage?

Hi ladies, I’m 5 weeks today and just a little nervous. Is there anything I can do to help prevent miscarriage?? Or should I not even worry??