What happens when sea levels rise and coastal land gets flooded?

Due to climate change, sea levels are expected to rise and flood large, low-lying areas in many regions of the world. The big question is how we should cope—should we built dykes or let the sea in?