1. Check whether the keyboard keys are pressed by anything
2. Switch to another computer to see if such a situation occurs
3. Check the keyboard Is it good?
4. Try using a wireless keyboard on your computer to see if there is any problem
5. Check whether there is interference from anything with a strong magnetic field around you
6. Is the driver updated?
7. Consider changing to a wireless keyboard
I hope it will be helpful to you and you will adopt it