What is the best way to stop a dog from digging in our back yard.?

My 1 year old dog likes to dig small holes in random spots through out our back yard. I was wondering what is the best way to stop this habit.