I doubt water is the issue. As long as you’re not hosing down your air intake directly, or soaking your filter right before you start, your bike won’t have water problems. Bikes are built to ride in the rain. In a most elementary sense, your bike is either not getting enough gas, air or spark. Check the intake for clogs, maybe a mouse crawled in there somehow and died lol. Then follow your fuel line. Is it carb’d? If yes, pull the fuel line out of the carb and make sure gas comes flowing out. Check for leaks everywhere, especially fuel and oil. Does your bike have a temp gauge or light? Was it running hot when you were experiencing the problem? Take your plugs out and inspect them (and the wiring) if all else fails.
Or take it to the shop…or Munch’s place.