It takes intelligence to look back on negative experiences and see the positive. It takes wisdom to see the positive while you are having the experience. Learn this skill. You will save energy and peace of mind.
Feel it all in the moment. Take on the acute pain of severe sensation. Cry. Rage. Embrace complete confusion.
Then, release. Let it go. Let it be. The optimism will drift into view, slowly dissolving the negative experience. The lesson will be learnt. The pain will have come and gone, imprinting the positivity. Wisdom will be acquired.