I am selling my car, its taken on installments, how do I go about to sell it.

I mean I have to pay the bank first, get a letter or something from them, then transfer it to the new owner? I believe that is how it should be done, but not sure of the procedure.