Thank you for providing makes and models of your gear.
1. Sony DVD HTS - Connect the component video output to one of the TV component video audio inputs.
This is for playback of DVDs.
2. DISH Hopper 3 - Connect the HDMI output to the TV HDMI input. This gets picture and sound to the TV.
Connect the optical digital audio output of the DISH box to the digital audio input of
the Sony. This get sound from the Dish box to the Sony.
You may have to turn on the optical out, turn the TV speakers off, and change the audio output to bitstream.
You may also have to select how the DISH box outputs audio in it;s menu.
Check the manuals for...