If it is the two middle program select lights that are flashing it means that the drain pump is not draining. It may still sound like it is working but the motor shaft will be spinning but the impeller blades won't.
You need to replace the pump.
(This happened on mine twice since I've had it, same thing both times)
Darren Meston, December 2010