Quick answer
In most first-time cases, the automatic stay begins immediately when the bankruptcy petition is filed—not when the court later approves or confirms anything.
General information, not legal advice about your situation. Laws, dollar amounts, and local rules change, so check current requirements with the official sources below or your court.
More detail
A case is generally commenced when the petition is accepted for filing, and no separate approval hearing is ordinarily required to start the stay. Important exceptions apply, and recent dismissed cases can shorten the stay or prevent it from arising automatically. A creditor can also ask the court to lift or modify the stay.
Related official reading
These sources do not endorse Bankruptcy Buddy.