There are two parts to fixing this problem. There is letting your dog know that the behavior is not ok, with a marker like “No” and then having him do something you do like, such as “Place”. The other part to this is being consistent. If every time he does it, he’s told not to and made to do something else, a new habit will form and the old one will go away.