The three structures you named each do something different, so it is worth being clear on what a beginner would need to know before they even reach that choice.
A prepayment premium (also called a prepayment penalty) is a fee the borrower pays if they pay off the loan early. On a wrap note, it compensates the seller for the income they expected but will not receive.
Your three options work like this:
Fixed penalty percentage. The buyer pays a set percentage of the remaining balance, say 3%, whenever they exit. Simple to explain and enforce, but it does not scale to how much yield the seller actually loses. A payoff in year two and a payoff in year eight cost the buyer the same percentage even though the seller loses very different amounts of spread.
Yield maintenance clause. This one calculates the exact present value of the spread income the seller will miss. It is the most precise protection, and it is also the most complicated to draft and for a buyer to understand. A tax or real estate attorney needs to write it, and a buyer who does not understand what they signed tends to dispute it later.
Step-down schedule. The penalty percentage shrinks over time, for example 5% in years one and two, 3% in years three and four, 1% in year five, then zero after that. It is the most common structure in seller-financed notes because both sides can see exactly what the cost of early exit is at any point. The seller loses some protection in later years, but the simplicity tends to mean fewer disputes.
One thing worth raising: whatever structure you choose, the clause also has to account for what happens to the underlying loan at payoff. A real estate attorney who works with seller-financed notes should review the wrap note before it is signed.
Which year do you expect the buyer is most likely to refinance, and is the underlying loan assumable or not? That changes which structure gives you the most practical protection.