Every human being experience THAT! every once in a while. Instead of letting the anger, pain and confusion ruin your day, or worse -your future, why not just replace whatever you're feeling with happy thoughts?
If that doesn't work, just offer it all to God. It works for me every time. I'm sure it will free you from whatever negativity that you may be feeling.