First, one week before the repayment date, apply to the loan bank for prepayment (in fact, inform you), and then the bank will tell you the specific repayment time and amount.
The amount of prepayment is: prepayment plus one month's interest (some banks do not charge one month's interest).