Why has the connection from the computer to my smart tv all of a sudden stop working?

It is the proper cable listed in the manual. I've tried everything. Naturally, when attempting to connect I use HDMI as the source. It worked perfectly for 3 weeks and then quit connecting.