Why does my compressor turn on for no reason?

You probably have an air leak. Get a bottle of soapy water and spray all of your connections, fittings, etc. and look for bubbles. Then reseal it.