It depends on the type of debt you have. Some debts, such as student loans, are not dischargeable in bankruptcy.