If you are changing your name due to marriage or divorce, you do not typically need to go through the process of getting a court order.
Instead, you can use your marriage certificate or divorce documents (usually called a decree or certificate) as proof of your legal name change when you update your ID and other records.
For information only. Not legal advice.