As with any expense, it's a good idea to put down as much cash as you can afford toward the cost of a roof replacement or repair before borrowing any funds. That way the principal will be lower, and you'll pay less interest over the life of the loan.