Hello MacSolutionsforGrandmothers,
To start, you'll want to add more specific detail to your post. When you say "buttons" are you talking about the keys on the keyboard?
If the keyboard is not working properly, you'll want to start with the basics like restarting the device and making sure it's up to date.
Shut down or restart your Mac
Update macOS on Mac
Here's some additional recommendations for keyboard issues: If your Mac doesn’t respond to key presses
If you're talking about something else, update your post with more details on what exactly you're doing, or what application you're using when you experience this problem so community members can provide more relevant responses.
Cheers!