How do I deduct the interest on a loan taken out to buy an investment property?

The property is to be fixed up and resold.