I take 2 x 75mg ranitidine tablets twice a day (so max four in a day).
Time the doses 12 hours apart. About 2 hours after I get up and 2 hours before I go to bed.
Also take the Gaviscon after food and just before I go to bed.
I must say the ranitidine plus Gaviscon works much better for me than the Omaprazole ever did. It’s pretty much got me back to a normal life. I get a little heartburn now, maybe once every couple of weeks, usually when I eat too large a meal. I now eat smaller portions more frequently and that makes a real difference too. I especially try not to eat more than 70-80g of meat/fish/seafood at once.
This way I can eat pretty much anything except I still grill and skin peppers, or buy the skinned and seeded ones in jars ( I do avoid some other foods for other medical reasons, I’m on the low fodmap diet).
It’s much easier knowing you can have what you want, just in small amounts, than thinking I can’t ever eat this again.
Have you tried avoiding caffeine? It apparently relaxes the muscles in the oesophagus so makes reflux more likely. It doesn’t work for me as I have a hiatus hernia, but it’s something they told me to try before I had the upper GI endoscopy that found the hernia.
Good luck