Sticky buttons are usually from spills and dirt.
1. Unplug the controller and remove batteries if it has them.
2. Clean around the buttons with a cotton bud dipped lightly in isopropyl alcohol, pressing the buttons many times.
3. For bad cases, open the controller and clean the button rubbers and the contact pads on the board.
4. Let it dry fully before using.
5. Worn rubber contacts can be replaced.
Keep drinks and greasy snacks away from controllers.