Get Pet Questions Answered by Pet Experts
If you just had his vaccines done, it might be a vaccine reaction. I would give it a day or two and see if goes down on its own. If not, a vet visit might be needed. If he seems lethargic or stops eating/drinking, you will need to see the vet sooner.
Let me know if you have more questions.