Aching burning pain under rib cage. What can I use for this?

Where exactly? Describe the location, timing and character of the pain in more detail. This is very important to be able to provide you a diagnosis and therefore recommend a treatment.
Pain under ribcage. Could represent pleuritic pain. This is irritation of the inner lining of lung cavity . Need to see md to listen to lungs and possible x-ray.