This is a common phrase to use when you're describing how you solved a problem:
There was some water leaking out of the side of it. Luckily I was able to find the leak and fix it before it became a big problem.
We didn't have anyone to stay with or any kind of hotel reservation. Luckily we were able to find a decent room at the Sheraton.