Welcome to Android Central! Go to Settings>Language & Input, and tell us which keyboards you see listed there. If you see the stock keyboard, select it as the default.
Are you certain the tablet used to have a different keyboard? Many devices use Google Keyboard as their preinstalled default keyboard.