If your dog is yelping, it can mean a number of things.  Pain is one of the most likely causes behind a dog’s yelping.  However, your dog may also be yelping out of boredom, to get attention from you, due to fear or anxiety, because they are hungry or need to go to the bathroom, or because they see or hear something that you haven’t noticed.