How you get small-business capital depends on why you need capital and how long you’ve been in business. Startups may consider self-funding, working with angel investors or applying for grants.