Nothing more permanent than a quick fix to get home!

If you did get water in the fuel- the factory filter is maxed by time it turns on the light. Filter change now.
This is the part where I promote FASS water separator filter. I like the fass LP with filters because it’s designed to work together and does it well. But if that isn’t an option, consider getting just the filter & a stand alone base.
A buddy in Salt Lake City did his that way for a ford, he got a bad dose of water and had the truck stall on the hiway. Because he heard me yelling about fuel pressure gauges for years- he saw his plugging up as he drove down the road.
He pulls over, drains some fuel then spins off and dumps the filter on the side of the road, runs his electric pump to refill system. Starts truck, pressure goes up some and he makes U turn back to the fuel station.
He goes in asking for manager and tells people as he goes past- “don’t buy fuel right now, it’s full of water.” Talks to manager, who just took his $100 bill a little bit ago. Starts truck to show how it’s running rough- They pump from his tank into a container after pouring in another filter worth.
Manager has him pump his entire tank into the main fuel tanks at the station. Manager shuts down all pumps- then drives across street and fills a small fuel can to put in his truck tank. Manager gives him $300 cash with apologies He drives across street where the manager put another $100 on a pump for him to fill up. Manager was Super glad it was an old diesel not a new cp style truck.
My recommendation when you have water- drain that tank and at a minimum use the water separator funnel- but even then- the price of a tank of fuel vs replacing ip & injectors makes the safer choice that you just have a bunch on weed killer now.