Why do we always remember the end of an experience? Why does that always colour how we think about the rest of the experience?
Peak end theory, made famous by Daniel Kahneman, tells us this very fact. Our memories of an experience are dominated by how the end was.
For example if the end is better/easier than the majority we remember it as a good thing even if the majority of it was unpleasant.
Try to be more mindful about this fact in your daily life. Use it to your advantage. Always try to end with something good. Leave your colleagues/friends with something good/positive at the end of an interaction.
Also know that just because something feels good/bad that isn’t the whole picture about the experience.
Evaluate things from a distance. Evaluate the whole thing. The insight gained might just allow you to adjust to make the next experience far far more awesome.