Thank you for the query!
What you are suffering from is most likely intercostal neuralgia
due to rib nerves irritation. Such irritation can be caused by spine diseases (like spinal disc herniation
), nerve compression by ribs, or by local inflammation process. Such pain is usually well localized, sharp and aggravates while breathing.
This is nothing to worry about, however the only way to treat it are non-steroidal anti-inflammatory drugs (like ibuprophen). It is advisable for you to get scheduled for spine MRI
, have chest X-ray performed. Some other medicine can give more relief than Ibuprophen does - Diclophenac.
Hope this will help.