The easiest way to fix a screen door that has come off the tracks is to retract the wheels. You do this by turning the screw at the base counterclockwise. This lifts the rollers, giving you the wiggle room to lift the door back on the tracks.
Don’t try forcing the door because you risk damaging the track and the rollers.