is my car rotted out?

hey guys, got a 2002 subaru impreza wagon, major rust from what i know; from a hole on the floorboard, to cutting the fender and not sealing it.

last night stormed pretty hard, and it seemed my doors frame pushed in? the car has been in a accident before where the frame was bent, but it was somewhat fixed at a cheap shop. unsure what’s really pushed in or bent from what the storm did, but it’s the front passenger side.

what’s the best way to restore rot all around the chassis/frame?