Help

I have a 08 Honda Rancher 420 Manuel shift. The battery died so I took it off to charge it. When I charged it put back in and when I hit the ignition switch the oil & efi lights just started flashing non stop.it won’t start or do anything. I can also hear a clicking noise sounds like coming from solenoid area but more from the wiring below it with the hook up. Anyone have a idea?