What will happen if a stomach ulcer is left alone with just OTC meds?

Most heal. Most will heal but hpylori status should be determined. If there is a possibility of malignancy then a second look egd may be considered.
Work up. There are numerous treatments once the absolute diagnosis is made. A non healing ulcer is serious. Get to your doctor.