If you have a breeding net, depending on how big the fish is, put it in the box, as if it's a "Bully Box". Keep him in there for about a day, then let him out, and then if he does it again, put him in again for the same legnth of time. Eventually, like other fish, he will learn that he can't do it.
You can't do this if you've got a huge fish though...
If the tank is large enough, add more jellybeans. Another option would be to remove the aggressive fish for several days so that it is out of sight. Then re-introduce it.