Vet, asap, certainly. Until then, hydration is usually good. The warm bath (as pssh described) is a good way to go. You can also drip water directly on the animal's snout in hopes of stimulating drinking.
If you can get him stabilized, then completing the "how to ask for help" form will help the experts advise you on any changes you might need to make to maximize your chameleon's health.