If he shares the home with other dogs, he's going to spray as a method of marking his territory and calling dibs on certain resources, like blankets, furniture and toys. If your dog engages in this kind of spraying because of other dogs, remove the items that he sprays, or, in the case of furniture, prevent him from going near those items.