Recent miscarriage

I had a miscarriage yesterday but wasn’t clotting much. How will I know all of the baby has come out or not? Hospital won’t do a scan and I’m worried I’ll end up with an infection.. was 9weeks pregnant..