Advice for changing a car

Hi Looking for some advice.

I have a 2017 nissan note on finance. I got it about 2 years ago.

As it stands I need to change it with something to accommodate the family.

How do I go about selling the car? What would be the procedure to clearing it with the lender before I can get a replacement.