When you talk of bankruptcy, it is the most terrible thing that can happen to you. This would also mean that your credit score is extremely low and thus you will have a hard time dealing with lending companies.
A lot of people who are considering bankruptcy are looking at either chapter seven or chapter 13. Chapter seven is when you are dealing the unprotected debts.