Anytime your dog is sleepy, walk with him to his bed and give him a treat once he's on the bed. Use your command to 'go to bed'. Repeat the steps above at bedtime. It may take a couple of weeks using his bed each night to get him to stay in his bed all night.