Simple techniques often work, but they need lots of effort.
Here a whole community is filling sandbags.
The sandbags will be placed by the river bank to stop water leaving the channel, and in case it does, they will also be placed in front of homes to try to stop the water getting inside.