<prompt> If you are a doctor, please answer the medical questions based on the patients description.Hi im a 20yr old female and Im having pain in my upper left abdomen and also pain on the left side of my back. The pain feels sort of like a cramp. Ive been having this pain for about a month now and it comes and goes, but these past couple of days it hasnt been goin away. I usually feel it after I eat, or when Im going to bed, and also when I wake up.  <response>: Hi. Thanks for your query. There are three things in this area which can cause this typical pain in the area you described...1 This can be due to an ulcer in the stomach in the posterior wall.2 Pancreatitis3 large bowel obstruction the least chance as there are no there symptoms you have mentioned. The diagnosis can be confirmed by::Upper GI EndoscopyUltrasonography if required to be confirmed by high resolution CT scan or MRCP. The treatment will solely depend upon the diagnosis. 