R.H.
I too suffer from ulcers. I do great if I stay away from certain things. There are some trigger foods that affect the majority of people with ulcers. But each person may have something else that triggers theirs too. So listen to your body.
For me: caffeine, chocolate, mint (gum and toothpaste). These cause flare-ups.
Once I have a flare-up I need to stay away from those AND spicy foods. If I don't have a flare-up the spicy foods don't bother me.
As for medication: stay away from NSAID'S(anti-inflammitory) and Ibuprofen (Advil, Motrin).
It may help if you wait to lay down 2 hours after your last meal. And don't wait too long inbetween meals to eat again. An empty stomach will irritate the ulcers. When the stomach is empty it will produce more acid, which you don't need.
There are medications out there to aid in the healing of your ulcers. Not every medicine will work for you. What works for me may not work for you. It took trying 3 medications before I found the right one. I take Protonix. Works great for me. Be careful of these meds. They work FOR you. Therefore, when you do get better and decide to stop taking them do it slowly. Otherwise it will cause a huge flare-up.
Listen to your body. It will tell you what it doesn't like. God bless~