There is no “quick and easy” answer to this question. You should discuss your situation with a credit counselor or a bankruptcy attorney, to evaluate the costs and benefits of bankruptcy given your personal financial situation.
Not every debtor qualifies to file for Chapter 7 bankruptcy. A means test is applied to determine if you will be able to repay a substantial percentage of your debt, and if you are determined able to do so you will be ineligible for a liquidation of your debts and will likely have to engage in a repayment plan as part of a Chapter 13 bankruptcy.
The type of debt you owe can be a significant factor in whether you file for bankruptcy, as well as the form of bankruptcy you pursue. Factors which may affect your decision to file for bankruptcy protection are detailed in this associated article: Filing For Personal Bankruptcy Protection in a U.S. Court.