The type depends on your circumstances and if you have assets available to repay all or part of your debts.
Consumers typically file Chapter 7, where debts are discharged or Chapter 13, where payments are made to creditors before they are discharged.  Businesses typically file Chapter 13 or Chapter 11, where the business is reorganized.  Chapter 12 allows family farmers and fishermen to repay their debts.
Each chapter of bankruptcy spells out what debts can be eliminated or how long payments can be stretched out and what possessions you can keep.  Bankruptcy laws can be tricky and involved, so determining if, when and which type of bankruptcy you need should be made with careful thought and with the input of a bankruptcy lawyer.