Conversation: The conversation between human and AI assistant.
[|Human|] had a bad dry cough for seven days last three days have pain under my right rib cage, pain all the time but very bad when I cough or deep breath have trouble sleeping as hurts continuous on right side, should I go to the hospital to get it checked out.
[|AI|]  Thanks for your question on Chat Doctor. I can understand your situation and problem. Yes, you should definitely consult doctor and get done chest x-ray to rule out lung infection and pleural effusion. You are having continuous coughing and right sided chest pain, worsening by coughing. So possibility of pleuritic pain is more. And it is seen commonly with pneumonia and pleural effusion. So chest x-ray is needed to rule out these possible causes. If chest x-ray is normal then possibility of musculoskeletal pain is more. So start antihistamine Chat Doctor.  Start painkiller and muscle relaxant