"Your mind is a powerful magnet that will attract to you the things you identify yourself with. If you have sad thoughts, you will attract tragedies. If you are a good man, you will attract the company of good people." ~ Alfredo Karras
"Bad" things happen. That's a given. But we do not have to concentrate or focus on them. We don't want to give them our attention because that will do just as Mr. Karras says - it will attract tragedies. There's the typical momentum issue too. When you continually focus on something "bad" and another "bad" thing comes into your life, then you go "ah geez, what's up with this? Doesn't anything ever go right for me? What's next?" etc. And guess what? Since you're in a negative space with that vibration, more "bad" things will come into your life. That's the magnetic aspect (the Law of Attraction at work).
I continue to put "bad" in quotes because Abraham has taught us that nothing is really bad. It's the contrast that presents us with choice. If it's something we'd rather not have or experience, then we know (through the contrast) what it is we really do want. If we didn't know both sides, we'd be bland and apathetic and not necessarily knowing what it is we really want.
Find the "good" in something that you initially think is "bad". I can tell you my earliest experience with this and I knew nothing about metaphysics at that time but in retrospect it was so obvious. I did not get into medical school when I first applied and I was devastated. And I didn't get in the second time either. But, all I can say is "thank goodness I didn't." Why? Because I most likely would have dropped or flunked out when I developed epilepsy that took over a year to diagnose. And also because I would not have become an Osteopath which is the very best thing that could have happened to me. I was so blessed that I didn't get in when I first applied. Of course I didn't know any of this at the time nor did I have any clue about the Law of Attraction but I just kept marching on toward what I did want. There was the initial disappointment but I got over that and then continued to strive to become a doctor - after all, that's what I had wanted since I was 4 years old. That determination kept me on the path which eventually brought success into my life.
Look to others to help you find the good in something you might otherwise think is bad. Once you come up with some good aspect, continue to focus on it and try to bring more of the good part into your life by focusing on that!