Bad luck is an interesting topic to discuss. It could either be a random coincidence, or just bad luck attracting more bad luck.
I like to think we have free will, and control over reality. So, I would suggest to think about the positive outcome you want, and eventually it will come to you.