how the hell do you train a dog not to bark?

I thought it was like some innate thing that makes them bark..

weird..