If that happened to me, I would freak out. But I wouldn't let it happen again. You need a shop manual, either paper or downloaded, and a $20 digital voltmeter. The manual will tell you the resistance or volt readings for testing the connectors, wires, battery, regulator/rectifier, and alternator.
While I was waiting for the manual, I would take apart every wire connector I could get to, clean it with contact cleaner, and put it back together, especially all the safety (kickstand, etc) connections.