What must I do for fractured rib?

Depends. If you have only one or two fractured ribs, there isnt too much to do, and time is your best ally. Breathing exercises and pain medication really is all you can do. The pain should resolve over a span of approximately 3 months.