Preparing communities for floods, heatwaves, and other climate risks can reduce future losses and protect livelihoods.