Have you made any changes to its living conditions? How long have you had the snake, and how big is it? What sort of food have you been feeding it?
If you can provide a photo of the snake's living conditions that might help people to make suggestions. However, I would take it to a reptile vet asap as the vet will be able to examine the animal and give professional advice.