The first step is to Recharge the battery,Slowly enough that it will recover. This also depends on if it's not over 2 years old. A load test on battery at auto/parts store is needed so you know the condition. Start the bike,& with a Digital multi meter Put the leads on the battery.At idle the volts should be 12.5 or 12.6-As the rpms slowly go up, the voltage should also till about 3000RPMs and be at 14.5-OR 6 volts Max.To check the Stator unplug the regulator then unplug the Stator. Meters ground should be a clean metal one.The pos.+/lead on meter put in Stator plug. Set to OHMs should read Zero, or no continuity. do both sockets on stator & should be the same.NOW to Check (Resistance), put both Meter Leads one each in Stator plug,The reading for resistance should read 0.1 to 0.3 ohms. A higher reading needs the Stator OR the Rotor replaced. Also once you turn on the Meter Touch both Meter Leads together and make sure it reads Zero before Starting your work.IF the Stator Checks Good check the Regulators plug for melted or burnt areas.MAKE sure to check ALL grounds and terminals for good connections.IF ALL Checks GOOD, you may have a Static/ Drain on the electrical.But do these tests 1st.,hope it's just a regulator, and post up when can.`Jimi