That depends on the age and condition of the laptop, the type of failure, the cost and availability of replacement parts, and how well the computer still meets your needs. A newer or higher-end laptop may justify a more involved repair, while an older system with several problems may be better replaced. A proper diagnosis makes that decision much easier to evaluate.