Use 一……就…… when a second action follows immediately after the first, or whenever a condition automatically triggers a result.