Help, car idle goes up and down

Car idle goes up and down, but otherwise runs fine. Only started happening after my friend installed battery backwards. What has to be done to remedy this?

maybe you messed up the ECU? maybe try resetting it? check teg-tips for that.

I posted to your other post.