Follow my instruction.
(if you have a remote)
1st: Erase the previous codes by pressing the two outter buttons for 20 seconds.
2nd: Hold the remote about 2 inches away from the button you want,, and press the button you want to program and the remote. The lights shoul start blinking slow then rapidly.
3rd: Your Homelink should be program.
4th: repeat steps if it does not work
W/O a remote
1st: Erase the previous codes by pressing the two outter buttons for 20 seconds.
2nd: Find your "SMART/Learn" button on your garage opener/motor.
3rd: You then have 30 second to get back to your car.
4th: Press the button you would want to chose 3 times, until your garage starts moving.
5th: repeat steps if it does not work.
YouTube - Program Your in-car Garage Door Opener