Pregnancy scare

So I came to the ER cause i was havinh alot of bleeding and alot of cramming. I am 6 weeks pregnant, i thought i had a miscarriage, but i didnt , im currently in the ER they are trying to figure out what is causing the bleeding, might be that i got my period ?