Very common problem. If it's an end-to-end bow put one short socket in the middle on the bowed side and then one on each end on the opposite side and then squeeze the whole thing in a vise until it's straight.
If you bent the flange inward then install your riveting bucking wedges and turn down on the nut until the flange is straight.