Greetings, sorry about the pain.
your rib pain is related to muscle spasm at upper back and chest muscles and weak muscles at wings (shoulder blade). Pain killers are of short term or no use at all.
Next Steps
See a physiotherapist and get myofascia release done. after which your physio will advise core strengthening. follow the program for 3 months, you will get better.
Health Tips
remember you have developed a poor posture which is causing rib pain. if unable to resolve get back to me will address the issue. if any other concerns do let me know.