Ideally, one should stop the fight, but that's generally not a good idea. Getting seriously hurt over a fight you're not involved in, well that's ridiculous. It will get stopped eventually, so don't feel the need to do something foolish.
Personally, I'd keep walking; watching the fight just encourages the participants.