I would first check the capacitor to make sure it is not bad. Its most likely that or a loose connection inside the generator.
Post a model # and let the troubleshooting begin.
Thank you, I'll post the model number tomorrow right now I'm about ready for bed.