Bobby,
From the little information that you have given so far, it sounds like you have a generator control module problem. However, since replacing it is over a thousand dollars, I would thoroughly check out the generator before replacement, or have it checked by a professional if you do not feel qualified.
Gerald