I have a hyperacidity which is somewhat related to ulcer. I often get tempted on that food but I always look at the future. Whether it will make me comfort or not. It is part of the trials. If you eat, you'll conquer your hunger. But can you conquer the side effect given by that said food? My side effect is vomiting. If I eat sour food, I vomit. And it's not easy to vomit because I get dehydrated. Many liquids are wasted if you vomit that's why you feel exhausted after vomiting.
 That's my opinion. Just decide what is good for your health.
hope it helps you :)