How To Get My Graphics Driver Working

Recently my Nvidia driver started malfunctioning by automatically switching itself off in regular intervals. All of a sudden, even the Nvidia control panel and other features stop responding. How to get my graphics driver working like it used to and also not damage my graphics card in this process?
