Visit the Apple menu-> System Preferences ->Keyboard preference panel ->Keyboard tab. Then locate “Key Repeat slider Setting. “ Once adjusted to the off position, close it. Now the problem will not appear again.