Step 1: chase the chicken around the garden until you finally catch her
Step 2: go into the house and find your best sharp sewing scissors. Do not put the chicken down, otherwise you have to do step 1 again. If necessary take the chicken into the house with you.
Step 3: extend one wing and trim all the longer feathers. I usually just trim one wing, that makes the chicken unstable. If you trim both wings, sometimes they can still fly high enough to get into mischief.
Step 4: release the chicken and hope you don't find her in the garden again....