5 ways to change your mindset in a bad situation