eBay to get a replacement keyboard.
Since you didn't share your model, I have to guess.
Replacing a keyboard on a laptop is pretty simple.
Right above the keyboard there is a plate, it is called the Keyboard Cover, there are usually buttons and light cover on this plate.
On some laptops this cover is attached to the hinge covers, if this is the case, there would be a screw holding each one and have to be removed from the back, then you use a flat head screw driver or a flat blade to carefully pry up the right hinge then the cover working your way to the left till the whole cover pops loose.
If the plate is not attached to the hinge covers, it would be the same with the exception that there are no screws to remove and you start working on the cover itself from the right side.
Now you should be able to see 3 or 4 screws at the top of the keyboard, remove them.
Raise the top of the keyboard, then lift the keyboard up and out of the notebook. Be careful not to pull on the ribbon cable connecting the keyboard to the notebook.
Lay the keyboard face down on the top case, forward of its normal position, and disconnect the ribbon cable from the motherboard.
Lay the new keyboard face down on the top case forward of its normal position, then reconnect the ribbon cable.
Slip the metal tabs on the bottom of the keyboard into their slots in the top case, then lower the keyboard into place.
Put the screws back in.
If hinge covers were part of the keyboard cover, tuck the display cables in before replacing the cover.
Hold the cover, bow the center upwards slightly, and snap it into place. Note the cover’s retaining tabs, make sure these tabs snap back into place when reinstalling the cover.
That should do it!