In general, when your dog begins to stand up, wag their tail less enthusiastically, or turn their head away from you, they’ve had enough petting.