If when you type, you don't see the word, or sometimes it types the words twice, may be an incompatibility with your Keyboard app.
We recommend you using Google's Official Keyboard App, the GBoard. Use the following link to check the app:
Google GBoard Link