What is the temperature in the cage? Does the chameleon have a basking area?
What do you feed it? How do you water it? Does it get UVB light or sunlight? Supplements?
We need more information in order to try to figure out the problem...and if it can't be corrected quickly, then the chameleon will need to see a vet.