Have a 2010 Honda civic, A/C only works 1 out of 5 times

Took to shop twice, holding charge, no leaks not an issue when they check it. Makes quiet clicking noise when on. What can be the issue

Might be a loose connection to the compressor.

I suggest getting a 2015-2017 car, i have one (Audi r8) and it works fine, plus your car is more likely to have more problems since its an older car