Have had my rib popping out

I have had this for about 2-3 months, went to a urgent care for chest pain down the middle of my chest and told them about my rib also hurting on and off. Chest pain went away recently after taking some aspirin and ibuprofen for a few days. But my rib is becoming irritating off and on now and still poking out. Any ideas on what to do?

You really need an x ray to see exactly what is going on here. Have you had an injury to your chest? You then need a thoracic surgeon to either operate or he/she can direct you to a physiotherapist who may be able to help to correct. How old are you?

I am 22, have had no injuries to my chest.

I have also had an xray a month ago everything came back fine.

So you can do nothing and just wait and see.
Or do you have a Primary care doctor who can physically examine you? and give recommendations on what to do next.