I knew I had an ulcer when I would sip some milk and the pain would go away. I also discovered if I would eat yogurt and the pain would go away also. I just starting taking Prilosec. When I saw my doctor a week later he told me I did the right thing when I began to take the Prilosec.