A clinical examination and work up is important for determining the exact cause of your symptoms and correct treatment. The common causes
of pain in ribs
are costochondritis, pneumothorax, reflux, irritable bowel syndrome, pneumothorax, splenic irritation etc. You may try taking antacids for relief in symptoms. If symptoms persist you may need additional tests like x-ray chest, ESR etc.It is important to correlate test results with clinical symptoms.