Gastritis involves inflammation of the stomach lining and can progress into an ulcer, which is an open sore in the lining. An ulcer can also form in the duodenum. The symptoms and causes of these two digestive system ailments are very similar. Your doctor can help you to diagnose and differentiate between the two.