Surgery for a rib fracture is typically only necessary in severe cases where the rib has been displaced or is causing damage to surrounding organs. Your doctor will evaluate your individual case and determine the best course of treatment.