To program a universal remote to a TV, you typically need to enter a specific code for your TV's brand and model. Follow the programming instructions in your universal remote's manual using the provided codes.