Please provide additional details: Exact models of both your TV and the sound bar
In general: You can connect them with a cable (analog red/white, or optical), or wireless (Bluetooth). In both cases, the TV should have audio output (RCA, headphones, optical/coax SPDIF).