Almost always a rectifier problem. Can be damaged in a number of ways -- loose or corroded connections, disconnect battery while running, reversed polarity at any point. Do a search here for testing rectifiers.
Make sure all of the wire connections are good, but most of the time it's the rectifier/regulator, depending on your exact motor it may have both, or just a rectifier.