Hi, Thanks for your question. I'm Dr. Hasan and I'll try to help you. I am sorry to hear about your problem. I am going to address your primary concern but later you can ask anything you want.
On an average the rib fracture pain should go away in a months time.
Taking pain killers for so long is never a solution to this problem.
You should ask your doctor to get a CT scan of chest to get further details of the problem.
Sometime there is a pinched nerve secondary to the fracture.
Your next step can be physical therapy