Get a new remote; that will fix it. You can try blowing out the buttons with compressed air, take the remote apart to really clean it, or abandon the remote and use the Roku app on your phone as a remote.
Roku Community Streaming Expert
Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.
I am not a Roku employee.