Literal translation
He fled the rain and stood beneath the gutter.
Contextual meaning
What it means
An attempt to escape a small problem can lead directly into a worse one, especially when the solution was chosen without thought.
When people use it
In everyday life
Used when a quick fix makes a situation worse, such as replacing a minor expense with a much larger debt.