how can I fix it

Solution
Sounds like you need a new keyboard, what is the model # and I can link the part. Typically they run around $20 and are pretty easy to fix.