I have pain on both sides of my back under

Patient: I have pain on both sides of my back under my rib cage I thought it was a pulled muscle but now I’m wondering if it is my kidneys I get relief when I lay on a heating pad

Symptoms: Back pain

Doctor: