It depends on the severity of the issue. If it can be fixed without putting a hole in your wallet, you can consider it. But otherwise, you’re better off replacing the engine or selling the car as it is.