Assuming your loan is a "simple interest" loan and not a "rule of 78s" (aka "sum of the digits method") type loan...
Your interest is computed each month on the amount of money you still owe. Take the interest rate and divide by 12 to get the interest rate per month. Apply that interest rate to the current unpaid balance and that's the amount of interest you owe for the month.
Go
here for an online calculator you can use to see exactly how the different payments work. (In your example, $10K at 7% with $800/month payments = 13 payments plus a final payment of $13.55)
Most reputable places don't offer "rule of 78s" loans any more, but you never know. Look at your loan document to see if it says anything about "rebate of interest" if you pay off early - that is the tipoff you have a "rule of 78s" loan. With that type of loan, you are essentially signing up to pay the entire loan + interest even if you pay it off early. Very, very bad.