doctor results. 9-12 week. miscarriage

After my incident last night. I went to the doctor. She tested the discharge and the result was a 9-12 week old fetus. I didn't know I was pregnant. But I'm feeling devastated and depressed. I know it wasn't meant to be.  It it hurts a lot