That usually indicates a hardware problem. Could be anything from moisture damage to a broken ribbon cable to a defective keypad. It is most likely time for a new device as they are not easy to work on and to have it repaired would cost as much as a new phone.
--------------------------------------------------------------------------------
1. Please thank those who help you by clicking the "Like" button at the bottom of the post that helped you.
2. If your issue has been solved, please resolve it by marking the post "Solution?" which solved it for you!