If you upgrade before the hardfork

Install a Bitcoin Knots version that includes the BLAKE2b change. Downloads will be on bitcoinknots.org when that version is published; source is at github.com/bitcoinknots/bitcoin. Keep your existing Bitcoin data folder. Set the announced blake2b_headline in your config. You do not need to download the chain again or move your coins.

If you switch after the hardfork

Your current node software may have followed the legacy SHA256d chain. On startup, this release usually notices those extra blocks, walks back to the fork, and then downloads the BLAKE2b chain.

A pruned node deletes old blocks to save disk space. If you waited so long that those walk-back blocks are already gone, rebuild the node and download the chain again.

Everyone