This is simply a contract between you and the lender.
They guarantee to give you a loan or a car and you agree to make the required payments at the relevant time.
You can normally cancel these agreements within a few days, but if you signed on the dealer’s or lender’s premises, you may lose the ‘cooling-off’ period in which you can cancel without penalty.