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 them do something you do like, such as “Place”. The other part of this is being consistent. If every time your dog does it, they’re told not to and made to do something else, a new habit will form and the old one will go away.