How old is he? How long have you been training him for? Can you explain how you've trained him using the clicker and treats? For example, did you go straight from marking and rewarding every repetition to expecting him to comply without the marker and reward? Or did you move to a random or variable reinforcement before gradually phasing out treats? Are you ever using "real life" rewards instead of food rewards, such as access to things he values?