Can you share more details of your laptop? What system you are using? Also, check on the drivers, are they updated properly?
I also faced similar kind of issue with my HP laptop. I thought my keyboard got damaged so I bought new USB keyboard but still I was facing the same issue. Then I realized that it is due to Windows 10. My laptop doesn't support Windows 10. So I downgraded to Windows 8 and now my keyboard is working perfectly fine.
Please let me know if your whole keyboard is not working or some of the keys are not working.