This depends on the age of your iPad and the cost of the repair compared to its current market value. If the repair costs more than 50% of its value, upgrading might be the better choice.