To reduce cribbing, consider painting fences, gates and partitions with creosote or an anti-crib liquid (with cayenne pepper) to make them less appetizing. Also, remove crib-friendly objects from the stall, such as corner troughs. Raise your horse's water bucket and feed tub up to the level of his chest. If your horse is cribbing out of boredom, turn him out more frequently or for longer periods to allow him additional opportunities for exercise. You may also want to consider using a cribbing collar. Most importantly, don't just hope this vice will go away by itself.
For more information, please read the story Understanding Cribbing & Windsucking