If its a normal ball and not a spider, quarantine it and wtach it while you treat the RI. (well quarantine anyways of course)

If it's IBD then unfortunately the snake will be dead very soon.

If the snake lives past a month or so then it may be some kind of neurological thing.