Take it for a gentle drive and stay near home just in case it stops.
If it hesitates, dont over load it too much.
If it is water, it should dry out eventually but check all wiring connectors
and ignition components if you still have a problem.
(with the ignition power off)
A few squirts of WD40 in suspect connectors will sort it.