There is always a lesson to be learned.  Have the attitude of asking - "what can i learn from that?"