If he's constipated, you can try feeding him a peeled boiled pea. If he eats it, it can function as a laxative.
Some fish can get anal prolapse, but I've just read about it and have no experience with it.
If it's intestinal parasites and/or worms, he needs to eat something laced with API General Cure.
Most of the time, you mix something like frozen mysis with GC, and bind it all together with Seachem Focus.
1 tablespoon thawed food plus 1 scoop Focus plus 1-2 scoops GC. Mix well, wait 20 min, feed the gooey solid pieces.
Most fish eat it happily and it works to clear parasites, but I've never tried this approach with something like an eel.