My washer fills and works okay but water seems to flood my floor

I need something. Don’t know what.
The water fills up the machine and floods my floor at the same.
Both the wash and rinse cycles. Looked in the bottom up, but I ain’t no
repair person. Looks okay