This is a good step-by-step link for what to do when your child has a fever:
It sounds like he is fighting an infection if he is not acting like himself, is irritable, tired or having trouble sleeping. Be sure he gets plenty of rest and fluids and consider Children's Tylenol for reducing his fever. He should feel better within a couple days.
All the best.