2 days hospitalized for pain in the liver, headache ...

I'm feeling a pain in the liver, I was hospitalized for 2 days because the pain increased and it hurt the stomach and the head, I came home yesterday but now the pain has returned, it hurts in the region of the liver, and when I breathe or move it hurts too in that place and a little higher up, back like the ribs but when I squeeze does not hurt the ribs only in the liver, is it a bad way in the back? I'm also releasing a lot of catarrh, what can it be? Please help me.
Expert answer:

It may be something related to your lung or liver (or near viscera) or musculoskeletal. The best person to say what it is is the doctor who cared for you on these two days, ideally, if you are again with the same pain (as well as other warning symptoms: fever, vomiting, general malaise) back to the hospital.