How to restore default settings in CAD

You may have changed a CAD setting somehow and now you want to restore the default settings. What to do?