Screen keeps cutting out

I have tried this far changing settings in control panel to the integrated and nvidia drivers does it on all settings. Does it while plugged into my television via HDMI. Maybe ram sticks are going bad? I will try that next any suggestions are appreciated.