That depends on the sales agreement. If the agreement for repaying the loan will be the previous owner's responsibility then you don't have to do anything. If it didn't, then repaying the loan is your responsibility.