Hi XXXXXXXXXXXX,
Water probably got into the alternator and blew it out so it's no longer charging the battery. First get the battery load tested, then check the alternaotr output. Most parts stores can check both for you.
Thanks for your question,
ASE Certified Technician
33 years experience in driveability for domestics and imports, also a professional Instructor