At home care for miscarriage

Im having a miscarriage.... im bleeding through my pads and my cramps are so bad. My doctor prescribed me with medicine for my cramps and told i was going to be bleeding for awhile. I still cant process this. Ive been crying and feeling so lost. I don't have any kids abd this is my 1st miscarriage. Can someone please give me advice or something in anyway?