Help!

I got a soundbar and it doesnt work, do I need an optical cable? I have a non roku tv. The TV does seem to have HDMI arc but im a noob