The first step is to do some research on the franchise you are investing in. Once you have identified a brand that you are confident will reach your financial goals, is a safe investment and suits your needs you should discuss the issue of financing with the franchisor.
Some franchisors have developed strong relationships with banks and can assist you in applying for a loan. But be aware that most banks and franchisors require the franchisee to invest a significant amount of their own money into the business. Some companies like Business Partners also provide funding for franchisees, but have really strict criteria. The other option is to approach friends or relatives for assistance.