I got them right after my losing my daughter at 16 weeks gestation. I can tell you that after a year I still get them but they aren't as upsetting or scary. Time will make you feel better, you will never forget her and you will always think about her and what "should have been" but things do get easier. Give yourself time to heal and let yourself FEEL whatever comes your way.
I am getting a lot of them. They sent me home from the hospital with medication to help me sleep. I really don't care to take meds so have tried several nights not to take any and those nights are so restless, many of them I would wake crying and re-hashing the delivery in my dream and more so in my head once I woke. I do take the meds but have cut them in half to get somewhat of a decent night (only waking 1-2 times). I hope these vanish soon for you but do know that you are not alone and from what I understand this is normal.