The error code E50 in your AEG washing machine indicates an issue with the motor. This error can happen due to a motor triac short circuit or if the motor itself is faulty. Here are some instructions to fix this error:
1. Turn off and unplug your washing machine.
2. Check for any visible damage or loose connections in the motor. If found, contact a professional repair service.
3. If there's no visible damage, plug the machine back in and run a short cycle to see if the error persists.
4. If the error code is still displayed, you may need to replace the motor or the motor control board.
Please note that if you're not comfortable doing this yourself, it's best to call a professional.