Tip: If the suggested word is marked in bold, your phone automatically uses it to replace the word you wrote. If the word is wrong, tap and hold it to see a few other suggestions.
If you do not want the keyboard to suggest words while typing, turn off the text corrections. Tap Settings > System > Languages & input > On-screen keyboard. Select the keyboard you normally use. Tap Text correction and switch off the text correction methods you do not want to use.