I don't have an S4 yet, but I guess it would depend on what keyboard you are using. Somewhere in the Setting you will be looking for a "Language & Input" selection. Find the Keyboard section and see which keyboard is selected as your default keyboard. Personally, I have found SwiftKey the best keyboard to use on my Android. It has a great auto-correction and it allows you to select a different word, plus they built in a Swype type way of using their keyboard in the latest version.
First, check what keyboards are available to you and which your device is using right now. Maybe change to a different one they loaded. And if those don't work, you might want to check out others like Swype or SwiftKey... two that I have always like using and are available on the Play Store.