The world is full of random events that will not always go your way.
Every day is full of unpredictable occurrences. Some of them may be fortunate, others less so. You never know what surprises may greet you at any given time. These random events may range from horrible to disasters to incredible opportunities. What matters most is how you will be able to respond to these events.
Good luck is when preparedness meets opportunity. Want to be lucky? Then you must be prepared. Obviously, one can’t prepare for everything, but that should only drive you harder in your efforts to prepare for most things. Try to imagine various possible scenarios and establish a mental (or even physical) playbook on how you would respond to each scenario.
This way, when strange events occur, you are better prepared. You know what you want to do, and you don’t have to worry about it. Problems change from horrible puzzles that need solving to simple circumstances that warrant planned changes in behavior. In this way, one can generate your own luck.
Make it a habit, and surprises will not turn ugly. Instead, events will start to swing in your favor because you are ready.