There are many sites and tutorials out there for how to take pallets apart and what kind of pallets to use. I try to find pallets that are not treated with chemicals and didn't aid in transport any kind of chemicals that may have leaked.

When dismantling, I have found it easiest to stand the pallet on it's side and slice through the nails on each end and do the same in the center. This allows you to utilize the full length of the pallet boards without splitting the wood or your back.

Once you've dismantled your pallet, lay out the boards in a way that works for your designated space. We had a large blank wall and a lot of spices, so I tried to cut the boards as little as possible.

Be aware that some boards are different widths and may need to be exclude or used in a different spot. I tried to use the same wide for all the outside and shelf boards.

Run a quick belt or rotary sander on all sides of all the boards you plan on using.