That's usually done by pressing some button(s) on your TV remote.
Different TVs have different UIs for this - there might be 1 button for each input, 1 button that cycles between the inputs, a menu of inputs....
In my case, I have an Audio Video Receiver (AVR) so I select the source on its remote. (TV is always set to the same input.)