Ctrl+comma or Press F4->Preferences or click Edit menu->Preferences. Then in bottom left corner click the 3 bar icon->Load Factory Preferences. If you have a Save Preferences button you will need to click that after loading factory; otherwise, you will have the problem again when you reload blender.