Sometimes, laptop keyboard may become faulty and stop working. Due to prolong use, they may wear out. And we may have to look out for a spare replacement keyboard to replace it. But before replacing the keyboard, investigate if it is a minor issues that can be resolved. But if the keyboard is indeed faulty, then it would need to be replaced. In that case, find a replacement keyboard for the laptop model and replace it. Laptop keyboard replacement is not that difficult. It can be done at home. If required, check out some videos on YouTube to see how to disassemble / assemble the keyboard for the particular laptop model.
Some times, keyboards may not work due to issues such as: