In an effort to stop it, you can wire brush, spray rust reformer, and then a color over top. This was a temporary solution for my 96, but now I'm spending the money to get the cab corner replaced.
I'll be pulling the bed and cab off I reckon and do something along those lines. I'm not too sure what I can do permanently if the frame is in bad shape. I may just have to find a donor frame.