In some cases, a bad ECU can be repaired instead of replaced. However, this is typically only possible if the issue is a minor one, such as a damaged circuit board. In most cases, it is more cost-effective to replace the ECU entirely.