There's probably a loose connection with the hdmi input. Does this happen if you use the apps on your tv? If so then it could be a circuit board problem or power supply board problem inside the tv.
open