What would happen if you went back to help your friend on the bridge?

Solution 1:

If you help the monster kid, they will defend you from Undyne, giving you a chance to escape (though you still battle her later). This is reflected in the dialog but has no other effects.