Assuming you are flying on scheduled airline service, the employees who last handled the bag should pick it up with its contents, put it in some larger container and take it somewhere where someone will attempt to make it so it will last the remainder of the segments to the stated destination on the bag tag. That can be done with anything, including duct tape.
If the bag was relatively new and the damage resulted from abuse or mishandling, the airline will usually issue you a similar bag (meaning: about the same size, but not necessarily the same brand, color or style) from their inventory of replacements, but you have to file the claim before leaving the airport.
Otherwise, you thank your lucky stars your stuff arrived, and buy a new bag at your destination.
Credit:stackoverflow.com‘