Bankruptcy is also helpful in giving debtors valuable time to work out solutions. Immediately upon filing, the bankruptcy in California law's powerful automatic stay goes into effect halting all enforcement actions such as foreclosures on a home, repossessions of an automobile, garnishments of wages or bank accounts, and harassing phone calls from collectors.