Whenever I am typing a text, one of the keys on the keyboard stays pressed and is just frozen on the screen. I have no idea what I should do.
Try a battery pull.
Also, sometimes water on the screen can cause that effect, make sure to wipe your screen down well if you think that's the problem.
You could also possibly use titanium backup to freeze the keyboard service then restart your phone and see if that works (only if rooted)
Droid X superuser