Air conditioner stop blowing cold air

Doesn’t sound like a Compressor if it keeps working then not working.

I’d find a mechanic who specializes in AC. We have a couple around here…All they work on is A/C…