how to deal with unexpected situations in life