I'd reccommend an alcoholic beverage of your choice, and a surgical rubber glove. LOL
My cat has this problem when she was younger, and a change of diet seemed to fix it completely. I forget exactly what the vet said causes it, but I do remember it was something to do with the stool not being excreeted properly. Maybe do a search?