1. Check the language and layout of the keyboard, 2. Update keyboard drivers, 3. Replace keyboard. Also, you can try other measures to fix the error.