Either there's a bad connection with the wiring, or you've got an electrical problem. You should check the repair light. AC Units greatly differ by brand. Since there are some many types of brands I would insist that you refer to your particular AC User Manual. They are quite useful.