Heart failure whilst pregnant!

Am

Has anyone ever been diagnosed with heart failure whilst pregnant? I've been recently diagnosed and also been told if I make it to approx 24 to 26 weeks, I may have to have the baby then. Very scared and worried and hope someone can provide hope for a very early baby or info on cardiac issues. Thanks in advance x