Pry out the old hose washers with a flat-blade screwdriver. Install new gaskets in both hoses and reconnect the supply lines. If the supply hoses aren't leaking, reconnect power and water supply ...
If you still have a leak, or if you did not find a rubber washer in the hose, you should purchase a replacement gasket. Multipacks of rubber washers are usually only a couple of dollars ...