LG TV turning off and on by itself

My LG Smart TV's info:

Model No: 43LJ617T-TB

AC 100-240V ~ 50/60 Hz 0.9A

I have been facing this problem for awhile. My TV keeps turning off and on by itself. The magic remote also keeps disconnecting and when it connects, it does not work properly. Also the WIFI does not connect. I believe it's a hardware issue but I don't know what I should do next.

Please help me solve it or give me some advice on what to do next.

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 0
crwdns2934285:0crwdne2934285:0