Foods that are easy to digest and gentle on the stomach?

I have been having severe pain and cramping in my abdomen for about 4 days. To make a long story short, I’ve been to the doctor and they basically said that they have no idea what it is and I should just wait and see if it gets better. It could be anything from a stomach ulcer to an ovarian cyst. They prescribed me an anti-acid and antibiotic incase it is a gastric or urinary infection. My next step will be an ultrasound and endoscopy if my symptoms don’t get better.

Anyways, I need to figure out what I should be eating during the next few days. I’ve noticed that my pain significantly decreases when I have something to eat. On the off chance that the pain is originating from my stomach , what kind of foods should I be eating in order to not make the problem worse? I know the obvious like avoiding alcohol and spicy foods.

I also used to have really bad acid reflux until I started a low-carb diet about 6 months ago. Most people recommend something like the BRAT diet for an upset stomach, but I know that would give me acid reflux. Maybe complex carbs are the way to go? I appreciate any advice!

Foods that are easy to digest and gentle on the stomach?