To switch compiz off, press ALT+F2 and type without quotes
To switch compiz on, press ALT+F2 and type without quotes
If you want graphical option then install fusion-icon.
Go to System->Administrations->Synaptic Package Manager and install
Now you can click fusion-icon from Accessories to turn compiz on and off.
For ease add it as a launcher.