LiftMaster remote controls use learn buttons and trinary 3 position switches to set the remote's code.
Each new LiftMaster remote control must be programmed to work on your garage door opener.
Look under the garage door opener light cover or on the same side as the antenna to locate the color of learn button you have.