how to train dog not to mount?
If your dog has developed a habit of mounting you or other people, discourage him from humping by pushing him off, turning away, sitting down or somehow adopting a position that prevents him from mounting. If your dog won't stop, say “Nope!” and immediately take him to a quiet, safe room for a short time-out.