There is nothing to fear from it as the cause has been found and once treated,you can be cured completely.
What you require is ...
Medicines to heal your ulcers,which your doctor must have prescribed to you.Generally proton pump
inhibitors like PANTOPROZOLE or OMEPRAZOLE
Avoiding spicy and greasy foods and avoidance of alcohol and smoking
are very important.
Taking hematinics to improve your hemoglobin
levels of blood.
In next couple of months,you shall be completely all right with medications and your lifestyle changes.