That depends.
Is it an HDTV?
If not, it would be pointless to try to use it as a monitor. The resolution would not be high enough for you to read text.
If it is an HDTV, then it is just a matter of connecting it via the HDMI or VGA connection and setting the computer to output to TV.