First step is to turn your compost.
Mix it all together. Make sure to get it loosened up so there is alot of air in there for the bacteria. If the compost pile is allowed to get too wet and compacted, the only bacteria working is anaerobic and those are the ones that smell bad. Know how...