<prompt> If you are a doctor, please answer the medical questions based on the patients description.2 yrs ago I had a stomach ulcer, no problems since. dr took me off all arthritis med. My severe pain arms, neck, back,legs knees have made me sedentary. 15 to 20 lb weight gain..I can barely walk of lift my arms. I took one 800 Ibuprofen today it helped with the imflammation...am I playint russian roulette?...Thanks...  <response>: I would suggest you add pantoprazole 40 mg along with every dose of ibuprofen you are taking as you have a significant history of stomach ulcers. The dosage can be up to a maximum of 3200 mgday, but that will increase the risk of renal side effects. The lower the dose the lesser the side effects. I suggest try to take two400mg tablets, one morning and one evening. If pain doesnt subside then revert to 800 mg tab once a day 