It depends on factors such as the extent of damage, repair costs, and the computer's usability; minor repairs or upgrades may prolong its lifespan, but extensive damage or outdated hardware may warrant investing in a new device.