Pregnancy scare!

I started my cycle on the 23rd and stopped yesterday. My cycle was abnormal as I normally go heavy but it was very light. I went to a check up and found out I was pregnant. I got a transvaginal sonogram and have been bleeding and cramping since. It's not heavy its light. Has anyone else experienced his and does anyone know much about miscarriage?