normal cycle goes out of balance

Maytag front load washer stops in normal cycle after 5 mins with out of balance, but works fine in rapid cycle. What needs to be fixed/replaced?