A. Restart your device to see if this resolves the keyboard issue. Sometimes, a simple reboot can fix temporary glitches.
B. If the keyboard continues to malfunction, check for any updates for your keyboard app in the Google Play Store, or consider switching to a different keyboard app temporarily.