One of the most common problems with an ice machine is an obstruction in the delivery of water to the ice machine. Make sure that your water supply line is not kinked and if you have a filter that it is clean.
Well, some problems with ice machines are that water can get into the mechanical part of it and totally fry the wires and everything else. Thus, chances being that it would be hard to fix, and you may need to replace it.