What you'll need:
Roll out your red fondant. Use a circle shaped cookie cutter that is the same size as your cookie to cut out one out for every two cookies you are decorating.
Cut the circle shaped in half and bend at the corners as shown.
Roll out the black fondant and cut 1/8" strips using a ruler to guide you.
With your paintbrush and water, lightly moisten the back of the red fondant and apply to the cookie as shown.
Use the paintbrush and water to wet the red fondant and apply your black strips on top of the red fondant as shown.
Cut the edge of the black strips to fit the cookie as shown.
Use the tip of a buttercream decorator to cut circle shapes from the black fondant for eyes.
Use your knife to cut out an eye patch shape and mustache.
Roll out the red fondant and cut 1/4" strips as shown. Fold these in half to look like the strings on the bandanna. Use a small amount of water to get this fondant to stick to the cookie.
Use a small amount of water to moisten the back of the eyes, eye patch, and mustache and apply these to the cookie as well.