If your peptic ulcer is bleeding or at high risk of bleeding, you need treatment right away. Treatment can include medicines or medical procedures. Here's what you need to know.