Heart failure is a long-term condition that can develop over time, or it can happen suddenly