Some dogs will whine while in their crates. Try to figure out if your dog needs to be let out to relieve himself or if he is simply whining to be let out. If it's the former, let him out and put him back in once he's finished. If not, choosing to ignore the whining is the best solution. Be sure you don't reward your dog for whining.