Debt Financing: When is the Right Time to Take a Loan?