I know you probably don't wanna here this but... He needs to see a vet.
After his next shed take him to a vet. Please for the sake of the snake
I hope he gets better!