Theratened miscarriage

Jessica
Went to the er last night for pelvic pain but no bleeding at 5w6d. Doctor told me that it was a threatened miscarriage but didn't explain it much and then went on the tell me that they saw something that "looked like a baby" when they did the ultrasound but didn't hear a heart beat because I'm still early... Then told me that my levels look good and just to follow up that they keep going up and it's all good.  
What the hell is going on...? Ugh this is so stressful