On personal loans the fee is usually deducted from the proceeds: borrow $10,000 with a 5% fee and $9,500 reaches your account, while you repay all $10,000 with interest. Some lenders add it to the balance instead.
Because the fee is a finance charge, it's included in the APR, which is why a loan's APR can be well above its interest rate. Compare offers by APR, not rate alone.