What's your TV model?
Which sound bar?
If you are connecting 3.5mm jack to the TV and there is no sound, it could be that your TV could only output sound from one output at the time.
or
If supported, you have to configure audio from different outputs.