It looks like your fish has hemorrhoids. Try some preparation H, lol. Just kidding, epson salt will probably help and if your feeding large pellets to your fish, i would stop. Feed only flakes for a while and reduce feedings in order to limit its bowell movements.