Move the car to an area where the soap and material cleaned off will not cause damage or enter a storm drain.
If you do not have access to a suitable location, take the vehicle to a
car wash with an industrial wastewater treatment system. This is
especially important if there is a lot of oil and sludge residue on the
engine.