then is a versatile word in English with multiple meanings:
1. At that time: "I was living in Shanghai then."
2. Next in time or order: "First we'll eat, then we'll go to the movies."
3. In that case: "If it rains, then we'll stay home."
4. In addition: "There's the rent, and then there are the utilities."
5. Used to emphasize a conclusion: "So you're saying then that you won't come?"