If it is a clean quarry, it is most often not fixed at all, or only, for example, a patch or an elastic bandage. Only in the case of a fragmentary fracture is it sometimes surgically fixed with a "wire". If you assume you have a broken rib (or more), go to surgery - there the doctor will determine what is or is not needed.