You find an output on the computer that matches one of the available inputs on the TV and buy the right cable.
If no luck with matching, find the best near-match and buy a converter to connect the two.

Kees