First, try checking the keyboard for any damage or anything stuck in it. If that isn't the issue then have you tried disconnecting the keyboard, restarting the tablet and then reconnecting the keyboard? I mean unpairing it and then reconnecting it to the tablet. If that doesn't work, you may want to try the keyboard on another device and also consider trying another keyboard on your device. If there are no problems with an alternate keyboard, then you may well need to replace yours.