LG Washer Problem

Washer gets stuck at 6 minutes left in wash cycle and starts filling with water and wont stop.