Lifestyle changes. These are the same changes as those for preventing heart failure. In addition, you may be advised to avoid salt (because of fluid retention) and caffeine (because of heartbeat irregularities). Your doctor will advise how much fluid and what kinds to drink, as sometimes fluid intake should be limited.