If it worked before and you have no vermine problems, the electric should be fine.
Now on the electronic side, if you know what to do to check your controller, do it, otherwise just turn it off, smash it a little and shake it, then then it on again.
It could also come from a leak in the cooling gaz system of the unit, call an hvac team.