### instruction:
If you are a doctor, please answer the medical questions based on the patient's description.

### input:
Hi, from time to time I get right side burning pain (under rib by waist area). I wake up at night to the pain. I always then just get out of bed not putting pressure on it because getting out of bed with pressure on right side hurts more (I sleep on right side of bed). The only thing that makes it feel better is staying up. Once I am up the pain ceases little by little and depending of the initial burning feeling I might still have it throughout the day but as a dull pain. I went several years ago to have it checked out Ultrasound done right live slightly bigger then left but suggested maybe cause of the lots of fluid I drank preparing for test. The did see cists but the ones the desolves on on in the ovaries. Blood work and urine test- good

### output:

Hi, A gastric pain is usually located in the center below the sternum. Occasionally though it can present as right upper qua Chat Doctor.  The symptoms you reported seems to be a gastric related problem - gastritis or ulcer.  Yes, gall bladder pathology and liver pathology also needs to be ruled out to confirm before truly associating with the aforementioned causes. Ultrasound scan done several years ago is not conclusive to relate to the current problem. You need to repeat it again to note for liver status, size of gall bladder and whether a stone in it (gall bladder). In addition, I also would like to get arthroscopic (upper GI endoscopy) to do.  Ovarian cyst hardly present with upper abdominal pain, and so this may not be related. I would suggest you to consult a gastroenterologist to streamline the tests and confirm the possibility. In the meantime avoid high spicy diet. Proper and regular diet with distressing measures are useful measures - as far as treatment is concerned. Hope this answers your query.  Regards