What happens next in this paragraph?

How to take back maiden name after divorce
Indicate in your divorce petition that you want to return to a previous name.
If you're the one filing for divorce, simply include a clause in your petition that you wish to return to your previous name.
If your spouse files for divorce, you can file an answer or counterclaim asking to have that clause added to the final decree.
Testify at the hearing that you want to return to a previous name. At the divorce hearing, the judge will question you about your name change.