Rot can indeed spread. It depends a bit on why it started, so first, you need to know why it occurred in the first place. If you don't address the cause of its initial occurrence, you won't get rid of it. However, it often works well to address the source of the rot and replace the damaged panel boards, which will hopefully resolve it simply and cheaply....