A. Enable the built-in keyboard settings on your device. Go to Settings > System > Languages & input > Virtual keyboard and select your keyboard to enable spellcheck and autocorrect features.
B. Consider using a third-party keyboard app that offers spellcheck and autocorrect functionalities.