Investors & landlords

If I refinanced with a new lender, where do I deduct the amortization costs from the old loan? Thank you.