So sorry to hear this. It really is an awful thing to happen
We also lost a baby at 19 weeks, it took a long time to recover (emotionally) and I was still crying sometimes over 18 months later but it does get easier I promise.
I felt desperate to have another child, also had an older child, though she was only 19 months when we lost our baby, but I felt such guilt about giving her a sibling. Luckily we fell pregnant 3 months after losing our baby, but the next pregnancy was so so hard, both physically and emotionally (the worry, several bleeds and bad spd).
Dd2 is now nearly 3 and honestly, I still occasionally have a little cry thinking about what happened and our baby we lost, but it is definitely not all consuming grief anymore and hasn't been for quite a while now. I try and see it that if I hadn't lost our baby then we wouldn't have dd2 and I couldn't imagine her not being here, kind of everything happens for a reason thinking.
My advice would be, keep talking to your partner, be kind to yourself, it wasn't anybody fault, it just happens sometimes, thankfully seems quite rare for a later loss, get through the funeral and allow yourself to grieve