そこで

そこで
conjunction
so, therefore, accordingly
grammatical
1. so, therefore, accordingly
Used to introduce a result, action, or response based on the preceding situation.
そこで聞(き)いてみた。
So I asked.
It started to rain. So I bought an umbrella.
The trains were stopped. So I decided to go by taxi.
There were many questions. Accordingly, we held an information session.
I got lost. So I decided to ask someone nearby for directions.

Usage

そこで introduces what someone did or decided in response to the situation just described, so the second sentence is a deliberate action. For a result nobody chose (slipping on ice, missing a train), use それで or だから; そこで転(ころ)んだ would read 'fell there'.

Similar words

Watch out

そこで is also simply そこ + で, 'there, at that place': そこで待(ま)っていてください (please wait there). The conjunction stands at the head of its sentence.