Then if you decide not to react, you will find the energy will disappear and it will resolve itself.
If you do wish to react, find a gentle way to react rather than an angry way. Tell the other person how you feel because of what they said or did to you.
As an example say, “I feel hurt when you do XYZ.” And leave it there, don't get into an argument!
This way you are telling them how their actions make you feel, they can't take your feelings away from you, but next time they might decide to treat you in a different way. It may take a few times for the other person to understand how you're feeling when they act in this way to you, especially if it is in a long-standing relationship where you have both acted in the “old” way for so long.