Depending on your situation and the size of the damage, you may be forced to replace entire room. In a good case scenario, after fixing the reason of the buckling, you can uninstall the planks, replace heavily damaged planks, and reinstall the rest of the room.