“When you are angry, don’t let that anger make you sin,” and don’t stay angry all day. Don’t give the devil a way to defeat you. (Ephesians 4:26, 27 ERV)
Don’t allow yourself to be so angry or hurt that you do things that will lead to regret later on. It’s easy to think about ways of getting revenge to those that caused you pain but this is not the way.