If he is licking it alot, then it could be something stuck in it, if he isnt, then it could be bruised. Could he have trod on something on a walk? If he isnt excessively licking it, I would just keep my eye on it for a couple of days but if it starts to feel warm to the touch, pop him to the vets.