Put them down, and walk away. Once you have decided to do this for YOU, it becomes much easier.

Drink lots of water, and brush your teeth often. When your mouth is clean, the urge to smoke is greatly reduced!