Hi
Usually it ends up in needing a new keyboard but cleaning with isopropyl alcohol can help
If that doesn’t work you could try (as a last resort) taking the backlight off the back of the keyboard and checking for any breaks in any of the clear flex cables
Might we worth checking the connection and cable for corrosion
After that it will probably need replacing;-(
Hopefully this helps
Any questions please ask
Thanks:-)