1. A user equipment comprising: a transceiver for communicating data; a memory for storing the data; a sensor for detecting unintended movement of the user equipment; and a processor for: evaluating the detected unintended movement of the user equipment; evaluating characters within a distance of a character entered by a user on a keyboard during the detected unintended movement, wherein the evaluated characters are selected from a set of characters based on a magnitude of the detected unintended movement or a number of a plurality of detected unintended movements; selecting a replacement character from the evaluated characters; and replacing the entered character with the replacement character.