How do I claim interest paid on a loan meant to earn income?

I pay interest on a loan to earn income.
How do I claim it?