Most people file for Chapter 7 bankruptcy in order to wipe out their debts. While many debtors will be able to disharge most or all of their debt, it's important to understand that some debts won't be erased in bankruptcy.
In addition, if one or more of your debts is secured by property, you may be able to get the debt wiped out, but the underlying lien will remain. Which means if you stop paying after the bankruptcy, the lender can repossess your property.
Here you'll find answers to your questions about how debt is treated in Chapter 7 bankruptcy