When a person is unable to repay debt, bankruptcy is a process where a court dissolves a person’s assets in order to take care of the outstanding debts. Bankruptcy shows on a person’s credit report for about 7-10 years and can affect their ability to use credit during that time.