There's several ways, but the quickest is to get an action from the Adobe Studio Exchange:
http://share.studio.adobe.com/axAsse...%26pgsel1%3D15
Run it, see how each steps works. Once you're familiar modify the steps (or create) another action to suit your taste...
Good luck