It would be extremely helpful to have some actual information, like bike model, year, Reg/Rec brand and how it was wired. You determined it's overcharging by what means? What battery type and model do you have?
Be aware, the "C" in S-O-H-C does not stand for "Clairvoyance".