When adrenaline rushes through your body, your blood goes to the places that your body feels need it most. That means that your blood is rushing to your heart, your brain, and possibly various muscles, and to do that it rushes out of your legs and makes them feel more like jelly.
Since acid is a primary cause of ulcers, you want to completely avoid any foods with high acidic content. Among them: alcohol, black and red peppers, chili powder and hot peppers, all of which irritate the stomach lining, and coffee, tea, colas, or chocolate, which can increase the amount of stomach acid.
As well as foods that can provoke increased production of stomach acid, some other foods can irritate your ulcer more directly. In practice this will vary from person to person, but there are some general recommendations for those with an ulcer. The first of these is to try to avoid eating spicy food.