To do so; to act in the manner just mentioned or according to instructions.
明日雨なら、そうします。
If it rains tomorrow, I'll do that.
やり方を教えてくれたから、言われた通りにそうするつもりだ。
You taught me how to do it, so I intend to do it as you said.
問題があれば、電話してください。そうするしかないですよ。
If there's a problem, call me. That's the only thing to do.
案を二つ出したが、彼は一つを選んでそうすると言った。
I presented two plans, and he said he would choose one and do that.