I realized today that mistakes happen in the blink of an eye without any realization that what you did was unpredictable and invalid.
I also realized that what I did was an absent minded decision driven by impulse, still making no sense nevertheless. These realizations hit me hard in the gut and made me feel belittle in the vast world. The immediate action was to put things back into place and make sure that the previous actions had not done any damage.
What I want to voice here is that, if you know you have done something wrong and it is affecting you so bad that you cannot focus on any other thing, make it all right, no matter what. It may not make things go back in place in some cases, but it will eventually make you feel better.