You should not reward behavior you do not enjoy.
Lance's dog has started begging at the table during dinner which Lance finds very annoying.
Lance wants his dog to leave him alone when he's eating.
Lance ignores his dog's begging and gives him food whenever he stops.
Lance gives his dog some food whenever it starts begging so it will stop for a bit.
Lance's dog learns to not to beg at the table if he wants food and becomes better behaved.
Lance's dog learns that begging will get him a reward, so he continues to beg.