|Have they spilled liquid on it ? |
Make sure no keys are stuck in the down position.
If that doesn't help, if it's a corded keyboard, it's common for wires to get broken inside the cord, often near where it enters the keyboard, after it has been used a lot, or at any time if the cord has been yanked on.
Try a different keyboard.