I think it's important to always give yourself time to feel whatever emotion first comes up from the bad experience. If the experience makes you sad, then it's ok to be sad and cry for a while. Sometimes it's easier to push down or subdue your emotions in order to get through the bad experience, but sooner or later you need to take the time to process your emotions. Once you've done this you can go about the situation in a more logical and rational way.