Yeah, you should apologize before the mob forms. This is much more important for large corporations, if they do a big screwup and apologizes after massive backlash, that is bad, but if they apologize before the massive backlash its much better.