Windown air conditioner air compressor hel[

My windown ac froze up. Turned off until ice was gone. It cools good now. When ac is off the air compressor, I think, still comes on every 5 minutes or so. What could be the problem?