The automatic stay is a legal injunction that goes into effect immediately upon filing for bankruptcy. It stops most collection actions by creditors, such as lawsuits, foreclosures, repossessions, and harassing phone calls.