Sorry to here that Nicky.
Same thing happened to me before my first. Went in for an ultrasound at 11 weeks and no heartbeat.
It is certainly NOT your fault. It is very common in fact. But I know how painful it can be.
Hugs.
LFL