There are quite a few situations in which it is necessary to resolve a car loan early.
For example, it may be that you have saved up enough money or maybe you should sell the car before the loan expires.
Then, as always, remember to settle loans in the correct order. This means that your car loan that hopefully has no very high interest rate may not be the loan you should prioritize first. For example, if you have small loans, they may have interest rates that are several times higher.
Of course, this is the nicest situation you can end up in, as it means that your finances are probably in very good condition. What is also good to know then is that a car loan does not normally cost anything extra to pay back in advance.
Simply contacting the lender and deciding how a repayment should go. When the money is then repaid, you own the car and the lender has nothing at all to do with it anymore.
Sell the car
If you have to sell your car before you repay the loan, you must always redeem the loan for the money you receive from the sale. If there is more money left over from the sale, you can save them to whatever you want. Here, too, it does not cost anything extra to settle the car loan but it is just to step in to the lender with the money.