Embryo? Miscarriage? 21 year old didn’t know I was pregnant

Did everything come out at once? How long does cramping last? Seeing doctor thurs. is this the embryo?